castlamp / zenbership

(2015) Zenbership Membership Software: Achieve Membership Nirvana
Other
112 stars 58 forks source link

During install, process.php displays text, php fatal error #53

Open dimitrivisser opened 7 years ago

dimitrivisser commented 7 years ago

Hi,

I tried to install Zenbership. After I click "process setup" I am redirected to process.php and it displays a lot of text. I enabled error reporting and in my log files it says:

PHP Fatal error: Uncaught Error: Class 'db' not found in /var/www/clients/client1/web3/web/training/setup/process.php:108

In the setup screen I tested the connection to the database and that worked ok.

Any ideas ? I am busy with it for some hours, tried several things, but nothing helps... I used the alpha version first, tried the stable version also. My setup is very basic, ispconfig, php 7. I tried it with Apache and Nginx. I am using this server already for a year with a lot of websites, never had any problems before.

Jasper-Ben commented 7 years ago

What DB system are you using? Mysql? Did you make sure that all requirements are fulfilled? In 99% of issues with the installation process it's because something was forgotten. SQL server set to traditional mode? Magic quotations deactivated, etc...?

http://documentation.zenbership.com/Home/Server-Requirements

dimitrivisser commented 7 years ago

Thank you! I am using Mysql. "Magic Quotes" are obsolete in PHP 7. I have set mysql to traditional mode. Although I have doubts about changing the settings of a complete server for 1 program. Everything else, Wordpress, Modx, Magento, Suitecrm and dozens of other programs work without the need to change settings which influence the complete server.

I see that they offer an installation service for $ 50, which is cheap considering that I am busy with this all day already. But I don't like the idea to have software on my server which I cannot install myself without problems.

Jasper-Ben commented 7 years ago

Hm ok... maybe that's a problem with php7, have only tried php5 up to this point. Maybe the developer can tell you more here. I get that you don't want to change the settings on the whole server just for one program. According to the developer strict mode support is planned for the next stable release this summer. You could consider running it in a virtual machine for the time being. That's what I plan to do until strict mode is supported (working with virtualization is always a good thing to do imho).

dimitrivisser commented 7 years ago

I installed Zenbership locally on a mac (with PHP 5). It seemed to work ok. Than I uploaded everything to my server (PHP 7), imported the database, changed the config file. And nothing works anymore. In the server requirements they talk about PHP 5.3+. But probably not up to 7.