[PHP] Re: warning eror
In article <008a01c16a91$9da01200$89383842@home>, [EMAIL PROTECTED] (Brett) wrote: > Can someone please tell me what to look for when this error appears: > Warning: Cannot use a scalar value as an array in > on line 141 On (or before) line 141 of /home/sites/site7/web/admin/repeat.php, an array function is being used on a non-array value, and that won't work. -- CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: warning eror
This is a Cobalt box! well you should edit the code and look at line 141 - What error it mentions. Telnet to the box, and cd to that directory then vi repeat.php to edit the file then Type 141 and then Shift G That should take you the line but if you are not familiar with vi the do not continue just exit by doing :q! Enter It seems that this file is part of a php opensource or whatever application so if you didn't code it I recoment u seek other alternatives - One could be to copy the original file if you have it backed up and then back up that repeat file on the server and then copy the original to the server and see if that solve the problem!! What error are you getting anyhow. If it is parse error then I doubt it is line 141. "Brett" <[EMAIL PROTECTED]> wrote in message 008a01c16a91$9da01200$89383842@home">news:008a01c16a91$9da01200$89383842@home... Can someone please tell me what to look for when this error appears: Warning: Cannot use a scalar value as an array in /home/sites/site7/web/admin/repeat.php on line 141 It just came about in a page that has worked fine until now. But that is how problems usually arrive, I think it is fine and leave it alone and all hell breaks loose. If anyone has any input I would appreciate it. Brett -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Re: warning eror
I didn't see the description of the error so take that into consideration when reading my post, yet I agree Zona. "Cc Zona" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <008a01c16a91$9da01200$89383842@home>, > [EMAIL PROTECTED] (Brett) wrote: > > > Can someone please tell me what to look for when this error appears: > > Warning: Cannot use a scalar value as an array in > > on line 141 > > On (or before) line 141 of /home/sites/site7/web/admin/repeat.php, an array > function is being used on a non-array value, and that won't work. > > -- > CC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]