Interresting Warnings...

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
bdub92

Interresting Warnings...

Post by bdub92 »

Hi!

I just installed the latest release today and had to fix a use sub dir safe mode problem

Code: Select all

		//use_sub_dirs doesn't work in safe mode
		if (ini_get("safe_mode") != "1")
			$this->use_sub_dirs = false;
...which fixed the fetching errors.  I can view the site fine now, however I'm receiving these errors at the top of every page:

Code: Select all

Notice: Only variable references should be returned by reference in C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php on line 136
The pages seem to navigate fine, however I don't really want these errors shown, and i have no idea what a variable reference is or what is should be returned by for that matter  ;D

Also, the admin panel shows these errors, again at the top:

Code: Select all

Notice: Only variable references should be returned by reference in C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php:136) in C:\Accounts\reveriev\wwwRoot\start\lib\classes\class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php:136) in C:\Accounts\reveriev\wwwRoot\start\lib\classes\class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php:136) in C:\Accounts\reveriev\wwwRoot\start\lib\classes\class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php:136) in C:\Accounts\reveriev\wwwRoot\start\lib\classes\class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php:136) in C:\Accounts\reveriev\wwwRoot\start\lib\classes\class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at C:\Accounts\reveriev\wwwRoot\start\lib\adodb_lite\adodb.inc.php:136) in C:\Accounts\reveriev\wwwRoot\start\lib\classes\class.admintheme.inc.php on line 176
The host uses IIS and Windows 2003 Server if that helps any.  Thank you for taking the time to look at the problem!
User avatar
CMSMS-Fan
Forum Members
Forum Members
Posts: 76
Joined: Tue Feb 28, 2006 5:35 pm

Re: Interresting Warnings...

Post by CMSMS-Fan »

I am getting the same errors on the admin/login.php and the admin/index.php?
Also the FeedbackForm Module caused a problem so had to be deleted to allow access to the admin.
Has anyone else suffered the same errors?
Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxxx/user/htdocs/admin/index.php:1) in /home/xxxxxxxxx/user/htdocs/lib/classes/class.admintheme.inc.php on line 161

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxxx/user/htdocs/admin/index.php:1) in /home/xxxxxxxxx/user/htdocs/lib/classes/class.admintheme.inc.php on line 164

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxxx/user/htdocs/admin/index.php:1) in /home/xxxxxxxxx/user/htdocs/lib/classes/class.admintheme.inc.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxxx/user/htdocs/admin/index.php:1) in /home/xxxxxxxxx/user/htdocs/lib/classes/class.admintheme.inc.php on line 168

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxxx/user/htdocs/admin/index.php:1) in /home/xxxxxxxxx/user/htdocs/lib/classes/class.admintheme.inc.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxxx/user/htdocs/admin/index.php:1) in /home/xxxxxxxxx/htdocs/lib/classes/class.admintheme.inc.php on line 176
Last edited by CMSMS-Fan on Thu Sep 28, 2006 10:36 pm, edited 1 time in total.
Often Ignored but never forgotten
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Interresting Warnings...

Post by Dr.CSS »

It is a windows server problem you may want to search the forum for it you may find window specific install/setup info...
User avatar
CMSMS-Fan
Forum Members
Forum Members
Posts: 76
Joined: Tue Feb 28, 2006 5:35 pm

Re: Interresting Warnings...

Post by CMSMS-Fan »

Sorry but it appears not to be an issue associated with a windoze server as you will see from the path in my errors that the path is not that of a windoze file system - the xxxxxxxx in my post over right the full path.  I appreciate that the first post bybdub92 is from a windoze system but mine is Linux.
Often Ignored but never forgotten
User avatar
CMSMS-Fan
Forum Members
Forum Members
Posts: 76
Joined: Tue Feb 28, 2006 5:35 pm

Re: Interresting Warnings...

Post by CMSMS-Fan »

I have had a look at the code and it appears the header tags are being called twice:-
login.php:-

Code: Select all

158  // Language shizzle
159  //header("Content-Encoding: " . get_encoding());
160  header("Content-Language: " . $current_language);
161  header("Content-Type: text/html; charset=" . get_encoding());
What is even more worrying is that I must have only got into the admin last night due to cookies from earlier.  I can no longer log in at all.
It looks like Ver 1.02 may not be ready for use in anger.....?
Often Ignored but never forgotten
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Interresting Warnings...

Post by tsw »

php version?

each header call does different thing, the first one sets content language and the second content type and charset used...
User avatar
CMSMS-Fan
Forum Members
Forum Members
Posts: 76
Joined: Tue Feb 28, 2006 5:35 pm

Re: Interresting Warnings...

Post by CMSMS-Fan »

Perl Executable: /usr/bin/perl
Perl Version: 5.008
PERL compile version OS: linux
GID: (If not blank, you are on a machine that supports membership in multiple groups simultaneously) 24714
Location of Perl: perl:
/usr/bin/perl
/usr/share/man/man1/perl.1.gz
Location of Sendmail: sendmail:
/usr/sbin/sendmail.sendmail
/usr/sbin/sendmail
/usr/lib/sendmail
/usr/lib/sendmail.sendmail
/usr/share/man/man8/sendmail.8.gz

Directory locations searched for perl executables
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
Last edited by CMSMS-Fan on Fri Sep 29, 2006 10:41 pm, edited 1 time in total.
Often Ignored but never forgotten
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Interresting Warnings...

Post by tsw »

php, not perl ;)
User avatar
CMSMS-Fan
Forum Members
Forum Members
Posts: 76
Joined: Tue Feb 28, 2006 5:35 pm

Re: Interresting Warnings...

Post by CMSMS-Fan »

Sorry the PHP is version 4.2+
Often Ignored but never forgotten
User avatar
CMSMS-Fan
Forum Members
Forum Members
Posts: 76
Joined: Tue Feb 28, 2006 5:35 pm

Re: Interresting Warnings...

Post by CMSMS-Fan »

Sorry,
I have spent some time looking at the issue and I think it was due to some of the files not being overwritten during the upgrade and some of the uploaded files were corrupt or not uploaded at all.

I have now got the site up and running but the only way was to delete all CMSMS files from the server, Except config.php.  I uploaded the new files and ran the upgrade.php.  This then worked first time.

The issue I can only assume now was that my server did not overwrite correctly or my ftp was flawed in some way.
I hope this is helpfull to anyone else suffering the same.
Often Ignored but never forgotten
Locked

Return to “CMSMS Core”