sazanof / MODxLetters

https://sazanof.ru
6 stars 5 forks source link

SQL Insert commands not working #20

Open BBloke opened 4 years ago

BBloke commented 4 years ago

During the first run of the program the databases are created but the Insert commands for categorys and templates does not.

I also found that I could subscribe via a webpage with the snippet and it populates the database but the module does not show the subscribed user.

I'm using Evo v2.0.1.

sazanof commented 4 years ago

Hi! Try to use master branch instead of branch, you downloaded from extras(its about failed inserts https://github.com/sazanof/MODxLetters/issues/17) About part 2: any details? Console, error log? I test module and snippet from master branch on evo 2.0 and it works for me

So, for evo2 I'll refactor the code:delete twig, use blade, models and etc. )))

BBloke commented 4 years ago

I downloaded what I think is the master branch. It's say module is v1.0.6 and snippet v1.0.5.

I tried to install again and it still wouldn't run the insert command on install.

I think there may be other issues with our installation. I'm getting thrown out of the manager when I try to click links relating to MODxLetters.

sazanof commented 4 years ago

https://github.com/sazanof/MODxLetters/archive/master.zip Try this. Manual install it

BBloke commented 4 years ago

I have manually instaled it but I have a bigger issue where trying to run the module always results in me being kicked out of the manager although the main table of the module shows on screen.

I've been doing so digging on the kick out issue but at the moment it's not been productive enough to really document. Although it has been insightful as to how somethings work.

I felt I couldn't delete my manager folder upon upgrading so I may install another copy of v2 on my server and see what happens and try a site comparison against the files to see if I can find what is causing my kick out issue.

Thanks @sazanof

BBloke commented 4 years ago

I've installed a fresh evo 2.0.1 website on the same server as my live upgraded 1.4.10 to 2.0.1.

I installed the master branch as above. I still don't get the insert command working on the categories and template DB. The module itself works but in a limited fashion as some of the buttons doesn't yield any thing.

I have checked the files I don't need in my normal installation and removed them. I've also looked at the differences on the plugins and turned them all off (not made any difference).

The one thing that happens when I try to run the program on my standard installation is I get the main MODx Letters page but the document tree on the left changes from listing the documents to displaying my sites 404 page. Clicking any link from then just brings me to a manager login page whether it be in the main window or the manager main frame.

I don't think this manager kick out issue is related in anyway to MODx Letters. It's just my site. Which I'm trying to figure out.