Webmastersite.net
Register Log In

Getting Errors with PHP 4.3.10

Comments on Getting Errors with PHP 4.3.10

azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted Jan 11, 2005 - 10:37 AM:

This is the errors I am getting. What do I need to do to fix these errors.

ignore this one Paul
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted Jan 11, 2005 - 11:58 AM:

Ok got back to normal. What I did was upgrade my servers php version from 4.3.9 to 4.3.10 and that is what caused the errors. So I switched it back to 4.3.9 and that is what brought it back to normal. But I like to keep my server updated so I would like to know how to fix this for php version 4.3.10..

thanks
Liz
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 13, 2005 - 5:49 AM:

That's rather odd. The output is what I'd expect from the wsncodes_markup mysql table being missing or the config.php file for it being missing, rather than a php matter. I'll try upgrading to 4.3.10 today.

It would've been better if you could've provided the debug output. The content of that first mysql error would've told the story.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 13, 2005 - 10:20 AM:

PHP 4.3.10 wasn't your problem, or if it was then you must've done something wrong in upgrading it. I've just upgraded the server http://www.philosophyforums.com/links/ is on from 4.3.9 to 4.3.10, and I'm not seeing any errors. So, it appears a properly-upgraded 4.3.10 isn't a problem.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted Feb 17, 2005 - 11:53 PM:

Paul,
I did a new test install and upgraded my php version to 4.3.10 to see maybe I made a mistake in upgrading my versions of wsnlinks well I didn't and this is what I am getting when I left it in debug mode.

Reposted it below

Would like to get my server updated to the new php version.

Thanks
Liz
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 19, 2005 - 10:46 AM:

This site (webmastersite.net) is currently on php 4.3.10, with no problems at http://links.webmastersite.net . I've also got http://links.philosophyforums.com on 4.3.10. And my localhost installs are 5.0.0 and 5.0.3 without incident. Probably the majority of web servers now run 4.3.10. It's not a 4.3.10 issue. Perhaps you're changing various php configuration options in the upgrade.

The issues shown in your debug are first of all a $newid being set somewhere mysteriously that causes the members table not to be queried right, and secondly WSN Codes being blank. For the latter, if nothing else have you tried deleting your WSN Codes for now (perhaps re-add later)?

Of course, also, have you tried running upgrade.php?
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
Posted Feb 19, 2005 - 8:50 PM:

Paul the error code is a new install of WSNlinks 3.14 on my server. What I did was make a test directory with a whole new database. Installed it new tables and every thing. This is just a test one to see if it would do the same as my the original one I installed. This was all done using php version 4.3.9. So after it was installed I decided to see if everything was working fine except for this:

Load time so far: 0.35 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE validated=1 AND hide=0 ORDER BY id DESC LIMIT 0,1;



Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/prestart.php on line 115

Load time so far: 0.41 seconds.
Performing query: SELECT name,value FROM wsnlinks_switches WHERE id>0 ;


Number of rows is 23 for Resource id #31

Load time so far: 0.46 seconds.
Performing query: SELECT id,type,original,replacement,description,originalclose,replacementclose,sortorder FROM wsnlinks_markup WHERE type='wsncode' ORDER BY sortorder ;


Number of rows is 4 for Resource id #33

Load time so far: 0.46 seconds.
Performing query: SELECT original,replacement,description,id,sortorder FROM wsnlinks_markup WHERE type='smilie' ORDER BY sortorder ;


Number of rows is 14 for Resource id #34

Load time so far: 0.46 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE validated=1 AND hide=0 ;


Number of rows is 0 for Resource id #35

Load time so far: 0.47 seconds.
Performing query: SELECT id,title,caneditown,caneditall,canvote,isadmin,canpost,canemail,validatecats,validatecomments,validatelinks,validateedits,cansubmitlinks,cansubmitcategories,cansubmitcomments,caneditownlinks,caneditowncategories,caneditowncomments,caneditownprofile,caneditalllinks,caneditallcategories,caneditallcomments,caneditallprofiles,candownloadfiles,canupload,canviewip,limitlinks,canemailmembers,canusehtml,limitlinksdaily,canalias,cancopy,candeleteown,candeleteall,candofulledit,candeletecategories,candeletecomments,candeleteowncategories,candeleteowncomments,candeletemembers,candeleteownmembers,canaliascategories,canviewpages,caneditvotes,numaliases,canviewvotes,canhideownlinks,canhideowncategories,canhideowncomments,canhidealllinks,canhideallcategories,canhideallcomments,canratecomments,bytespermem FROM wsnlinks_membergroups WHERE id>0 ;


Load time so far: 0.53 seconds.
Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,subscriber,mixtypes,isalbum,orderlinks,totalcomments,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsnlinks_categories WHERE validated=1 AND hide=0 ;


Number of rows is 0 for Resource id #39

Load time so far: 0.53 seconds.
Performing query: LOCK TABLES wsnlinks_email WRITE, wsnlinks_links WRITE, wsnlinks_categories WRITE, wsnlinks_members WRITE;


Load time so far: 0.53 seconds.
Performing query: SELECT id,`to`,subject,message,headers,replacement,mime FROM wsnlinks_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10;


Number of rows is 0 for Resource id #40

Load time so far: 0.53 seconds.
Performing query: UNLOCK TABLES;



Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/commonfuncs.php on line 317

Load time so far: 0.55 seconds.
Performing query: UPDATE wsnlinks_settings SET content='1108874648' WHERE name='lastrotation';


Load time so far: 0.55 seconds.
Performing query: UPDATE wsnlinks_settings SET content='H' WHERE name='currentletter';


Load time so far: 0.56 seconds.
Performing query: UPDATE wsnlinks_settings SET content='1108874648' WHERE name='staticexporttime';


Load time so far: 0.56 seconds.
Performing query: SELECT id FROM wsnlinks_members WHERE validated=1 ;


Number of rows is 1 for Resource id #42

Load time so far: 0.57 seconds.
Performing query: UPDATE wsnlinks_settings SET content='1' WHERE name='totalmembers';


Load time so far: 0.57 seconds.
Performing query: ALTER TABLE `wsnlinks_sessions` AUTO_INCREMENT=1;


Load time so far: 0.65 seconds.
Performing query: UPDATE wsnlinks_members SET failedattempts='0' WHERE failedattempts > 0;


Load time so far: 0.66 seconds.
Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,filename,filetitle,notify,suspect,downloads,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters FROM wsnlinks_links WHERE hide=0 AND expire > 0 AND expire < 1108874648 ;


Number of rows is 0 for Resource id #43

Load time so far: 0.66 seconds.
Performing query: UPDATE wsnlinks_settings SET content='1108874648' WHERE name='lastdaily';


Load time so far: 1.01 seconds.
Performing query: UPDATE wsnlinks_settings SET content='1108874648' WHERE name='debittime';


Load time so far: 1.04 seconds.
Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,subscriber,mixtypes,isalbum,orderlinks,totalcomments,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsnlinks_categories WHERE parent=0 AND validated=1 AND hide=0 AND isalbum=0 ORDER BY name ASC LIMIT 0,300;


Number of rows is 0 for Resource id #46

Load time so far: 1.04 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE parent=0 AND validated=1 AND hide=0 ;


Number of rows is 0 for Resource id #47


Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/commonfuncs.php on line 317

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/end.php on line 29

Load time so far: 1.07 seconds.
Performing query: UPDATE wsnlinks_sessions SET starttime='0' WHERE time < 15;


Load time so far: 1.07 seconds.
Performing query: UPDATE wsnlinks_sessions SET time='0' WHERE time < 15;


Load time so far: 1.07 seconds.
Performing query: SELECT starttime FROM wsnlinks_sessions WHERE ip='12.207.196.122' AND memberid=0 ;


Number of rows is 1 for Resource id #49

Load time so far: 1.07 seconds.
Performing query: UPDATE wsnlinks_sessions SET time='1108874648', location='http://www.mydomain.com/test/index.php', catid='', threadid='', areaname='' WHERE ip='12.207.196.122';


Load time so far: 1.07 seconds.
Performing query: SELECT id FROM wsnlinks_sessions WHERE memberid>0 ;


Number of rows is 1 for Resource id #50

Load time so far: 1.08 seconds.
Performing query: SELECT id FROM wsnlinks_sessions WHERE memberid=0 ;


Number of rows is 1 for Resource id #51

Load time so far: 1.24 seconds.
Performing query: SELECT COUNT(*) FROM wsnlinks_links WHERE validated=1 AND hide=0 AND inhidden=0 AND alias=0 AND inalbum=0 ;


Load time so far: 1.24 seconds.
Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,filename,filetitle,notify,suspect,downloads,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters FROM wsnlinks_links WHERE validated=1 AND hide=0 AND inhidden=0 AND alias=0 AND inalbum=0 ORDER BY id DESC LIMIT 0,15;


Number of rows is 0 for Resource id #55

Load time so far: 1.24 seconds.
Performing query: SELECT COUNT(*) FROM wsnlinks_sessions WHERE 1=1 AND (memberid>0) ;


Load time so far: 1.24 seconds.
Performing query: SELECT id,memberid,location,time,ip,browser,starttime,catid,threadid,areaname FROM wsnlinks_sessions WHERE 1=1 AND (memberid>0) ORDER BY time DESC LIMIT 0,100;


Number of rows is 1 for Resource id #57

Load time so far: 1.24 seconds.
Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned FROM wsnlinks_members WHERE id=1 ;


Load time so far: 1.27 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE validated=1 AND hide=0 AND parent=0 ;


Number of rows is 0 for Resource id #6

-----------------------------------------------------------------------------------------------------------------

Besides the header wasn't sent error everything else seemed to be running fine.


After I upgraded to php version 4.3.10 I was getting this code error:

----------------------------------------------------------------------------------------

Load time so far: 0.39 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE validated=1 AND hide=0 ORDER BY id DESC LIMIT 0,1;


Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/prestart.php on line 115

Load time so far: 0.4 seconds.
Performing query: SELECT name,value FROM wsnlinks_switches WHERE id>0 ;

Number of rows is 23 for Resource id #31

Load time so far: 0.4 seconds.
Performing query: SELECT id,type,original,replacement,description,originalclose,replacementclose,sortorder FROM wsnlinks_markup WHERE type='wsncode' ORDER BY sortorder ;

Number of rows is 4 for Resource id #33

Load time so far: 0.41 seconds.
Performing query: SELECT original,replacement,description,id,sortorder FROM wsnlinks_markup WHERE type='smilie' ORDER BY sortorder ;

Number of rows is 14 for Resource id #34

Load time so far: 0.41 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE validated=1 AND hide=0 ;

Number of rows is 0 for Resource id #35

Load time so far: 0.41 seconds.
Performing query: SELECT id,title,caneditown,caneditall,canvote,isadmin,canpost,canemail,validatecats,validatecomments,validatelinks,validateedits,cansubmitlinks,cansubmitcategories,cansubmitcomments,caneditownlinks,caneditowncategories,caneditowncomments,caneditownprofile,caneditalllinks,caneditallcategories,caneditallcomments,caneditallprofiles,candownloadfiles,canupload,canviewip,limitlinks,canemailmembers,canusehtml,limitlinksdaily,canalias,cancopy,candeleteown,candeleteall,candofulledit,candeletecategories,candeletecomments,candeleteowncategories,candeleteowncomments,candeletemembers,candeleteownmembers,canaliascategories,canviewpages,caneditvotes,numaliases,canviewvotes,canhideownlinks,canhideowncategories,canhideowncomments,canhidealllinks,canhideallcategories,canhideallcomments,canratecomments,bytespermem FROM wsnlinks_membergroups WHERE id>0 ;

Load time so far: 0.42 seconds.
Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned FROM wsnlinks_members WHERE =1 AND validated=1 ;


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/public_html/test/classes/database.php on line 69

Mysql error while fetching row for :You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '=1 AND validated=1' at line 1
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478

Load time so far: 0.48 seconds.
Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,subscriber,mixtypes,isalbum,orderlinks,totalcomments,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsnlinks_categories WHERE validated=1 AND hide=0 ;

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '=1 AND validated=1' at line 1

Number of rows is 0 for Resource id #40

Warning: Illegal offset type in /home/public_html/test/start.php on line 61

Warning: Illegal offset type in /home/public_html/test/start.php on line 61

Warning: Illegal offset type in /home/public_html/test/start.php on line 61

Warning: Illegal offset type in /home/public_html/test/start.php on line 61

Load time so far: 0.48 seconds.
Performing query: LOCK TABLES wsnlinks_email WRITE, wsnlinks_links WRITE, wsnlinks_categories WRITE, wsnlinks_members WRITE;

Load time so far: 0.48 seconds.
Performing query: SELECT id,`to`,subject,message,headers,replacement,mime FROM wsnlinks_email WHERE timesent=0 ORDER BY id ASC LIMIT 0,10;

Number of rows is 0 for Resource id #41

Load time so far: 0.48 seconds.
Performing query: UNLOCK TABLES;


Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/commonfuncs.php on line 317
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478

Load time so far: 0.53 seconds.
Performing query: SELECT id,name,parent,validated,description,time,parentnames,parentids,numlinks,hide,lastlinktime,custom,lastedit,moderators,headerinfo,related,numsub,type,permissions,subscribers,subscriber,mixtypes,isalbum,orderlinks,totalcomments,ulsearchmax,ulsearchquery,ulsearchadult,alias,catcols,linkcols,dmozpath,sponsorlinks,views,customwrap FROM wsnlinks_categories WHERE parent=0 AND validated=1 AND hide=0 AND isalbum=0 ORDER BY name ASC LIMIT 0,300;

Number of rows is 0 for Resource id #44

Load time so far: 0.53 seconds.
Performing query: SELECT id FROM wsnlinks_categories WHERE parent=0 AND validated=1 AND hide=0 ;

Number of rows is 0 for Resource id #45

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/commonfuncs.php on line 317

Warning: Cannot modify header information - headers already sent by (output started at /home/public_html/test/classes/database.php:244) in /home/public_html/test/end.php on line 29

Load time so far: 0.57 seconds.
Performing query: UPDATE wsnlinks_sessions SET starttime='0' WHERE time < 15;

Load time so far: 0.59 seconds.
Performing query: UPDATE wsnlinks_sessions SET time='0' WHERE time < 15;

Load time so far: 0.59 seconds.
Performing query: SELECT starttime FROM wsnlinks_sessions WHERE ip='12.207.196.122' AND memberid=0 ;

Number of rows is 1 for Resource id #47

Load time so far: 0.59 seconds.
Performing query: UPDATE wsnlinks_sessions SET time='1108712530', location='http://www.mydomain.com/test/index.php', catid='', threadid='', areaname='' WHERE ip='12.207.196.122';

Load time so far: 0.6 seconds.
Performing query: SELECT id FROM wsnlinks_sessions WHERE memberid>0 ;

Number of rows is 1 for Resource id #48

Load time so far: 0.6 seconds.
Performing query: SELECT id FROM wsnlinks_sessions WHERE memberid=0 ;

Number of rows is 1 for Resource id #49

Load time so far: 0.64 seconds.
Performing query: SELECT COUNT(*) FROM wsnlinks_links WHERE validated=1 AND hide=0 AND inhidden=0 AND alias=0 AND inalbum=0 ;

Load time so far: 0.64 seconds.
Performing query: SELECT id,title,url,description,rating,votes,validated,catid,sumofvotes,email,time,hits,numcomments,hide,ownerid,voterips,voterids,lastedit,type,filename,filetitle,notify,suspect,downloads,pendingedit,funds,suspended,alias,expire,ip,inalbum,typeorder,recipurl,hitsin,recipwith,hitsinips,hitsoutips,lastcomment,related,inhidden,viewers,threadviewers,hitsintemp,hitsouttemp,origtype,importance,parentids,timesdead,timesemailed,threadclosed,threadposters FROM wsnlinks_links WHERE validated=1 AND hide=0 AND inhidden=0 AND alias=0 AND inalbum=0 ORDER BY id DESC LIMIT 0,15;

Number of rows is 0 for Resource id #51

Load time so far: 0.64 seconds.
Performing query: SELECT COUNT(*) FROM wsnlinks_sessions WHERE 1=1 AND (memberid>0) ;

Load time so far: 0.65 seconds.
Performing query: SELECT id,memberid,location,time,ip,browser,starttime,catid,threadid,areaname FROM wsnlinks_sessions WHERE 1=1 AND (memberid>0) ORDER BY time DESC LIMIT 0,100;

Number of rows is 1 for Resource id #53

Load time so far: 0.65 seconds.
Performing query: SELECT id,name,links,comments,time,usergroup,password,ip,totalhits,totalhitsin,email,validated,template,language,lastattempt,allowemail,signature,avatarname,stylesheet,allowuseremail,albumid,failedattempts,totalbytes,funds,notifyoflinks,lastvisit,timezone,rating,pmfolders,notifyofpms,acceptpms,cookieduration,banned FROM wsnlinks_members WHERE =1 ;


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/public_html/test/classes/database.php on line 69

Mysql error while fetching row for :You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '=1' at line 1
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478
Error: The wsncode # has no pattern listed.
Warning: Empty regular expression in /home/public_html/test/templatefunctions.php on line 1478

This is a new install with new tables and database. Only this upgraded on the server is php version from 4.3.9 to 4.3.10. When I switch back to 4.3.9 everything works fine except for the headers not being sent error. I have done this a number of times and get the same results. Also on the 4.3.10 version all the {STUFF} for everthing comes up like that not what suppose to be.

Liz
Rik
Forum Regular

Usergroup: Customer
Joined: Sep 22, 2004
Location: Wake Forest, NC

Total Topics: 23
Total Comments: 161
Rik
Posted Feb 20, 2005 - 6:03 AM:

In PHP scripts, if you get spaces at the begining or end of a file you can get that headers error. Often see that when folks use online editors.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 21, 2005 - 10:50 PM:

No, the header warnings are debug mode as explained in the manual.

Azteca - In your phpinfo, check the full configure command listed for 4.3.9 versus the one for 4.3.10 (just post them). There must be something you've activated or deactivated between them in order for behavior to differ -- unless you get the same problems on a new install with 4.3.9 and just not on an old one.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
#10 - Quote - Permalink
Posted Feb 22, 2005 - 1:06 AM:

Paul,
I did a complete new install database and all. I get the same errors. When switching to the new version of php. I can switch back to 4.3.9 and everything runs fine.

Here's the phpinfo for the configure command:

4.3.9-
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysql' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--enable-wddx' '--with-xmlrpc' '--with-zip' '--with-zlib'
Server API Apache

4.3.10-
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-swf=/usr/local/flash' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-mcrypt' '--with-mhash' '--enable-magic-quotes' '--with-mysql' '--with-openssl' '--enable-discard-path' '--with-pear' '--with-pspell' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--enable-wddx' '--with-xmlrpc' '--with-zip' '--with-zlib'

Liz
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
#11 - Quote - Permalink
Posted Feb 22, 2005 - 11:01 AM:

Plus I can't get into the admin area it won't let me log in and plus it seems the template functions completly quit. It's like your seeing the template for the page and not what is suppose to show. Example it shows this {CATNAME} in stead of actually showing the category name. Thats for everyhing on the page. Now I can switch back to 4.3.9 and everything works fine.

Liz
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted Feb 22, 2005 - 3:54 PM:

Google brings up this: http://forum.mamboserver.com/showthread.php?t=25240

This post in particular is the best summary: forum.mamboserver.com/showp....php?p=126191&postcount=16

The zend php optimizer needs to be updated to the newest version when using PHP 4.3.10. (Somebody also said "php accelerateor" needs a cache flush.)

Apparently WebHostManager automatically did the zend upgrade for me when I updated my VPS to 4.3.10, and apparently my other hosts did the upgrade correctly since I haven't had any issues.
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
#13 - Quote - Permalink
Posted Feb 22, 2005 - 9:15 PM:

Paul,
Thanks a bunch that was the problem. Was running zend optimizer 1.3.0 and with the new version of php it is required that you upgrade zend to 2.5.7. Again thanks.

Liz
Synozeer
Forum Regular

Usergroup: Customer
Joined: Jun 02, 2004

Total Topics: 32
Total Comments: 142
#14 - Quote - Permalink
Posted Feb 23, 2005 - 10:04 AM:

Strange. I run PHP Version: 4.3.10 and Zend Engine Version: 1.3.0 and I don't have any problems with my site... unless Zend Engine uses different version numbers than Zend Optimizer.

Adam
azteca
Forum Regular

Usergroup: Customer
Joined: Oct 18, 2003

Total Topics: 32
Total Comments: 114
azteca
#15 - Quote - Permalink
Posted Feb 23, 2005 - 2:56 PM:

Synozeer,
If you go to http://www.php.net/downloads.php it says this. Note: Due to an incompatibility between earlier versions of Zend Optimizer and PHP 4.3.10, it's recommended to upgrade to the latest version.

All I know I tried to upgrade to the newest version and got all kinds of stuff happening. Upgraded my zend optimizer and boom fixed the problem.

Liz
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.