Page 1 of 1

Blank screen after successful installation

Posted: Wed Mar 29, 2006 6:14 am
by firstbishop
Hi (this was first incorrectly posted in the General Help forum)

This CMS seems to have exactly what I am after. I ran the install which went perfectly, but when I view the site I get a blank screen and the following entry in my log:

"Cannot redeclare class mysql_cmsms_extender in /home/e-smith/files/ibays/essanet/html/cmsmadesimple-0.12.1/lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc(7) : eval()'d code on line 1"

I am running PHP 4.3.10 on an Apache webserver using a Linux distribution called SME Server (which is based on Redhat 7.3)

I'd be grateful for any ideas

Mike

Re: Blank screen after successful installation

Posted: Wed Mar 29, 2006 9:53 am
by katon
As you can see from the message, you must have class mysql_cmsm_extender already declared somewhere.  Try uninstalling all extra modules, themes.

Re: Blank screen after successful installation

Posted: Wed Mar 29, 2006 10:55 am
by Ted
Look in /home/e-smith/files/ibays/essanet/html/cmsmadesimple-0.12.1/lib/adodb_lite/adodbSQL_drivers/mysql, it looks like your ftp client uploaded an extra file and named it "mysql_cmsms_module.inc(7)".

I think...

If that file is there, please delete it and try again.

Re: Blank screen after successful installation

Posted: Wed Mar 29, 2006 12:24 pm
by firstbishop
Hi

Thanks for both of your replies.

This was a standard install from the current tar.gz file available for download from the site. I haven't installed any modules or themes and when I extracted the zipped file onto my server there was no additional mysql_cmsms_module.inc file included. (ie nothing named mysql_cmsms_module.inc(7))

I simply downloaded the file, unzipped it, copied it to my webserver and ran an install that went perfectly until I tried to access the site.

Mike

Re: Blank screen after successful installation

Posted: Wed Mar 29, 2006 1:08 pm
by Ted
Are you using the mysql or mysqli driver?  There seems to be an issue with mysqli for some users.  (you can find it in the config.php file near the top if you're not sure)

Re: Blank screen after successful installation

Posted: Wed Mar 29, 2006 2:55 pm
by firstbishop
mysql

I tried turning off adodblite in the config.php file, but then I get this error:

PHP Fatal error:  main(): Failed opening required '/home/e-smith/files/ibays/essanet/html/cmsmadesimple-0.12.1/lib/adodb/adodb.inc.php' (include_path='.:/usr/share/pear') in /home/e-smith/files/ibays/essanet/html/cmsmadesimple-0.12.1/include.php on line 109

Any ideas?

Re: Blank screen after successful installation

Posted: Wed Mar 29, 2006 3:33 pm
by Ted
Regular adodb isn't included with CMSMS.  You'd have to grab it from an svn build or a 0.11.2 release for it to work.  I only left that flag there in case of emergency.  :)

Re: Blank screen after successful installation

Posted: Thu Mar 30, 2006 6:17 am
by firstbishop
I used the same tar.gz file last night to install this CMS on my Ubuntu machine at home and it ran perfectly.

Does anyone have any ideas why my SME server might not be happy with it? Is there additional software that needs to be installed with CMS? Are there any other requirements besides PHP, MySQL, Apache etc?

Thanks

Mike

Re: Blank screen after successful installation

Posted: Wed Apr 19, 2006 9:27 am
by firstbishop
I am still having no luck with this problem and will have to try another CMS. If anyone has any thoughts please post something here

Thanks

Re: Blank screen after successful installation

Posted: Tue May 30, 2006 8:26 am
by tkunn
hi, i just had the same problem myself.

i took Ted's advice on that adodb thing.

* downloaded the 11.2 release here: http://dev.cmsmadesimple.org/frs/?group_id=6
* unpacked, copied lib/adodb to my initial site, and ...

voila, it worked out great. well, i don't know if it keeps on working, but for now, site is running.


as to my first post,
thanks Ted for a really marvellous piece of work.

jüri aka tkunn

Re: Blank screen after successful installation

Posted: Mon Jun 26, 2006 9:29 am
by nalecu
Same problem here! I just did a clean install using 0.13 (this is my first try on CMSMS!) and when trying to acces either main page of the site or the amin section, the monster pops up it's ugly head:

Code: Select all

Fatal error: Cannot redeclare class mysql_cmsms_extender in ...(blabla).../lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc(7) : eval()'d code on line 1
Now here are the details of my host:
  • PHP Version 4.3.4
  • Apache/1.3.29 on FreeBSD 4.9
  • MySQL 4.0.14
Other stuff: there's no such file as "lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc(7)", just the file named "lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc" that was included in the original .ZIP download.
And no, I don't want to use a previous version like tkunn did.
And yes, the server does use ionCube PHP Accelerator v1.3.3r2 but I have no control over it, as I'm just a host user and do not have total control over the server machine of the hosting company (which I'm pretty happy with so far!).

Any ideas?

Later edit: I somehow managed to make it work! All I did was to edit the "lib/adodb_lite/adodbSQL_drivers/mysql/mysql_cmsms_module.inc" file, which didn't work (got some other error!), revert it to it's original content and re-upload ... et voila! it works ...

I have to admit (now that it's working) that CMSMS is a really nice piece of code, does a lot of things and (so far!) does them well! I'm impressed ...