Web Hosting Talk







View Full Version : Did PHP 4.3.10 do it?


MDColson
12-18-2004, 01:39 PM
My image gallery script worked fine last night...

http://mdcolson.com/gallery

However today all I get is...

Warning: Illegal offset type in /home2/mdcolson/public_html/gallery/__phpAutoGallery/include/smarty/Smarty.class.php on line 551

Warning: Smarty error: unable to read template resource: "index.tpl" in /home2/mdcolson/public_html/gallery/__phpAutoGallery/include/smarty/Smarty.class.php on line 1042

My host upgraded to PHP 4.3.10 (i think last night)... Did that do it? How can I fix this? Any ideas?

My php info is http://mdcolson.com/phpinfo.php

THanks!

Mark

EDIT - I just found this link...

http://bugs.php.net/bug.php?id=31116

Is this my problem? What to I tell my host to do? Recompile php w/o zend? Get newest zend?

MDColson
12-18-2004, 01:57 PM
I tried upgrading the SMARTY package...

now I just get one error...

Warning: Smarty error: unable to read resource: "index.tpl" in /home2/mdcolson/public_html/gallery/__phpAutoGallery/include/smarty/Smarty.class.php on line 1088

index.tpl is there - and I checked permissions, and tried putting them all to 777

NO DICE?

Mark

MDColson
12-18-2004, 03:31 PM
Host must have been playing with server - because it seems to work now...

Can you check http://mdcolson.com/gallery and let me know if everything seems to be back to normal?

Thanks

Mark

NetHosted-Andrew
12-18-2004, 04:08 PM
Originally posted by MDColson
Host must have been playing with server - because it seems to work now...

Can you check http://mdcolson.com/gallery and let me know if everything seems to be back to normal?

Thanks

Mark

Works fine for me!

Andrew

matt2kjones
12-18-2004, 04:14 PM
Yea all is ok now

MDColson
12-18-2004, 06:08 PM
I spoke to my host. Turns out if you upgrade to PHP 4.3.10 you MUST upgrade to the newest zend optimizer. So he upgraded zend, then recompiled PHP.... Problem GONE!

MDC