balacay Posted September 7, 2007 Share Posted September 7, 2007 I just migrated to a different server with our local hour registration system. I now get this error when loading up: http://i8.photobucket.com/albums/a13/balacay/errorphp.jpg Previous server: PHP Version 5.0.4 Mysql 4.1.7 New server: PHP Version 5.2.3 Mysql 5.0.22 And both use IIS. Anyone able to tell me what cause all those weird chars? And how do I fix this? When I scroll further down I get the menu I am supposed to see... Thanks a lot! My apologies for double posting: http://www.phpfreaks.com/forums/index.php/topic,158427.0.html I figured this was a better spot since the name of this part of the forum was "PHP and MySQL". Quote Link to comment https://forums.phpfreaks.com/topic/68343-solved-weird-characters-after-migrating/ Share on other sites More sharing options...
deadimp Posted September 7, 2007 Share Posted September 7, 2007 What is your code generally like? Have you tested out a simple script to see if that works? Quote Link to comment https://forums.phpfreaks.com/topic/68343-solved-weird-characters-after-migrating/#findComment-343722 Share on other sites More sharing options...
balacay Posted September 10, 2007 Author Share Posted September 10, 2007 What is your code generally like? Have you tested out a simple script to see if that works? As soon as I try something like this: <?php $gbGratuit = true; include ( "include/general.php" ); echo serialize ( $gUsersByName ); echo '<br />'; echo serialize ( $gUsersByLogon ); ?> I get the error on the new server... the old one is just fine... When trying this code: <?php phpinfo(); ?> Works without problems... Quote Link to comment https://forums.phpfreaks.com/topic/68343-solved-weird-characters-after-migrating/#findComment-345291 Share on other sites More sharing options...
Daniel0 Posted September 10, 2007 Share Posted September 10, 2007 You probably need to install Zend Optimizer. It looks like it has been encoded with Zend Guard. Quote Link to comment https://forums.phpfreaks.com/topic/68343-solved-weird-characters-after-migrating/#findComment-345299 Share on other sites More sharing options...
balacay Posted September 10, 2007 Author Share Posted September 10, 2007 You probably need to install Zend Optimizer. It looks like it has been encoded with Zend Guard. Thank you! That fixed it Quote Link to comment https://forums.phpfreaks.com/topic/68343-solved-weird-characters-after-migrating/#findComment-345310 Share on other sites More sharing options...
MadTechie Posted September 10, 2007 Share Posted September 10, 2007 please click solved (bottom left) Quote Link to comment https://forums.phpfreaks.com/topic/68343-solved-weird-characters-after-migrating/#findComment-345312 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.