Page 1 of 1

CMS Admin error

Posted: Tue Aug 02, 2005 3:38 pm
by Sean
Hi! I've recently install CMSMS and been through the trials of configured MySQL and PHP4 with IIS and all seemed to be working.

The install script worked great and CMS Install Successful screen shows itself wonderfully. But cms/admin produces the following error:

--- snip ---
Notice: Only variables should be assigned by reference in E:\Inetpub\wwwroot\cms\lib\adodb\adodb.inc.php on line 796

Notice: Only variables should be assigned by reference in E:\Inetpub\wwwroot\cms\lib\adodb\adodb.inc.php on line 796

Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\cms\lib\adodb\adodb.inc.php:796) in E:\Inetpub\wwwroot\cms\admin\lang.php on line 67

--- snip ---

The Notice bits are debug info, but the Warning keeps reappearing every second (presumably an auto-refresh attempt). NE1 know how i can get around this problem? Its been taxing me for hours.

NE help is g8ly appreciated!

Best wishes

Sean Underwood

Re: CMS Admin error

Posted: Tue Aug 02, 2005 4:33 pm
by Ted
Try using a svn daily version for now.  It's related to PHP 4.4.0 changing some stuff.  It will be fixed when 0.10.1 is released.

http://cmsmadesimple.org/cms-daily.tar.gz

Re: CMS Admin error

Posted: Tue Aug 02, 2005 8:22 pm
by seanu_again
Thanks for the help friend, but after extracting the tar ball and reinstalling i still get the same error


Warning: Cannot modify header information - headers already sent by (output started at E:\Inetpub\wwwroot\cms-daily\cms-daily\lib\adodb\adodb.inc.php:796) in E:\Inetpub\wwwroot\cms-daily\cms-daily\admin\lang.php on line 67


What should i do? I've already downgraded MySQL to get passed the log in error, should i down grade PHP as well? (!)


TIA, Sean

Re: CMS Admin error

Posted: Tue Aug 02, 2005 8:28 pm
by Ted
For now, that's the only suggestion I have.  I'm not going to have to time to install an instance of 4.4 this week and try to debug it.  Sorry about that.  I'll try and figure it out next week.

Thanks!

Re: CMS Admin error

Posted: Tue Aug 02, 2005 9:28 pm
by seanu
Thanks Wishy!

I've install PHP4.1 and it works g8. Love the admin L&F, it was worth waiting for just to see a nice backend.

What is the highest known version of PHP that is know to work with CMSms?

TTFN! Sean

Re: CMS Admin error

Posted: Tue Aug 02, 2005 11:28 pm
by Greg
As a temporary fix to use 4.4.0 I turned off error reporting in php.ini

Re: CMS Admin error

Posted: Wed Aug 03, 2005 12:38 am
by Ted
I've been developing it on 4.3.11 and it works fine.  That change that you're seeing doesn't start happening until 4.4.

I'm REALLY curious as to why this started happening again.  I just don't have the time to look at the moment.  Anyone?

Re: CMS Admin error

Posted: Mon Sep 19, 2005 8:43 pm
by Tabasco
Any new fixes for this problem if using the php version PHP 4.4.0? it works for me with version 4.3.11.

Re: CMS Admin error

Posted: Mon Sep 19, 2005 9:30 pm
by sjg
As far as I know, the version that's in svn works correctly with PHP 4.4.x and PHP 5.0.5.

If you run into any problems, please let me know, as I've made it my mission to eradicate the reference problems. :)

Re: CMS Admin error

Posted: Tue Sep 20, 2005 12:33 am
by Greg
the & needs to be removed in line 797 of adodb.inc.php for 4.4.0

Re: CMS Admin error

Posted: Tue Sep 20, 2005 12:48 am
by sjg
Yikes! Don't know how I missed that one, especially given these error messsages posted here.

Fixed in svn.