CMS Admin error

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Sean

CMS Admin error

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: CMS Admin error

Post 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
seanu_again

Re: CMS Admin error

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: CMS Admin error

Post 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!
seanu

Re: CMS Admin error

Post 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
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: CMS Admin error

Post by Greg »

As a temporary fix to use 4.4.0 I turned off error reporting in php.ini
Last edited by Greg on Thu Aug 04, 2005 11:13 pm, edited 1 time in total.
Greg
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: CMS Admin error

Post 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?
Tabasco

Re: CMS Admin error

Post 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.
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: CMS Admin error

Post 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. :)
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm

Re: CMS Admin error

Post by Greg »

the & needs to be removed in line 797 of adodb.inc.php for 4.4.0
Greg
User avatar
sjg
Power Poster
Power Poster
Posts: 310
Joined: Thu Jan 27, 2005 5:11 pm

Re: CMS Admin error

Post by sjg »

Yikes! Don't know how I missed that one, especially given these error messsages posted here.

Fixed in svn.
Many modules available from the http://dev.cmsmadesimple.org
The CMS Made Simple Developer Cookbook is now available from Packt Publishers!
Locked

Return to “CMSMS Core”