PHP error message "string offset"
Posted by: Gusman (---.adsl.xs4all.nl)
Date: July 08, 2006 12:43PM

Hello,

I have a small question about a error message I got, when running my website locally in Wamp.

When I install a copy my website in the www dir of Wamp and use it via [localhost].. I get the following error message:

Fatal error: Cannot use string offset as an array in D:\wamp\www\triple9\inc\functions.php on line 589


When I use the same function on the website which is on a (web)server at my hosting company everyting works fine. Do I need to configure a specific setting in the php.ini file?

Thanks in advance.......

Kind regards,

Gusman ;-)



Gusman ;-) - team Guppy NL

Options: ReplyQuote
Re: PHP error message "string offset"
Posted by: yfastud (72.236.169.---)
Date: July 10, 2006 08:30PM

Differnet server have different setup. Check your codes to see if any foreign codes inserted by your web host; I had to correct my codes and eliminated all foreign codes when transfer from web host to wampserver.
Hope this help

Options: ReplyQuote
Re: PHP error message "string offset"
Posted by: Gusman (---.adsl.xs4all.nl)
Date: July 10, 2006 09:11PM

yfastud,

Thanks for your reply. I'm going try to figure out what the php settings are of the webserver at my hoster.

I will let you know how things go.....

regards,

Gusman



Gusman ;-) - team Guppy NL

Options: ReplyQuote
Re: PHP error message "string offset"
Posted by: CyberSpatium (67.170.181.---)
Date: July 11, 2006 03:23AM

this is a php error, not a php.ini setting problem. post your code and maybe someone can help you

Options: ReplyQuote


Sorry, only registered users may post in this forum.