[joomla] PHP magic_quotes_gpc
Gary Mort
garyamort at gmail.com
Sun Oct 25 11:37:46 EDT 2009
Is this upgraded to Joomla 1.5 or PHP 5.2?
BTW, stay away from PHP 5.3 and Joomla. It does some weeeeeird things to
Joomla.
On Sat, Oct 24, 2009 at 5:02 PM, Scott Wolpow <scott at wolpow.com> wrote:
> Having that exact problem with an import function for Adsmanager. Moved to
> PHP server and get this error.
> Need to figure out how to fix this. Any ideas Gary. :)
>
>
There are 2 important errors, 1 is this:
> PHP Fatal error: Cannot use object of type stdClass as array in
> [path]/administrator/components/com_adsmanager/admin.adsmanager.php on line
> 506, referer:
> http://thewdn.com/administrator/index2.php?option=com_adsmanager&act=import
Which makes me think you went to 5.3 and now have some problems with
depreciated functions that were removed.
The other is this:
>
> PHP Warning:
> copy([path]/administrator/components/com_adsmanager/impfiles/1-10-16-09wdn.xls)
> [<a href='function.copy'>function.copy</a>]: failed to open stream:
> Permission denied in
> [path]/administrator/components/com_adsmanager/admin.adsmanager.php on line
> 358, referer:
> http://thewdn.com/administrator/index2.php?option=com_adsmanager&act=import
>
Which basically says it is copying the uploaded file from one folder to
another, and it is failing due to permission issues. This could be because
you didn't set write permissions on the target folder, or more likely
because the other error comes from the code retrieving the target folder so
instead the folder is becoming the root.
Everything else is just the import routine throwing errors because the file
it is trying to import does not exist.
> PHP Notice: Undefined offset: 4 in
> [path]/administrator/components/com_adsmanager/admin.adsmanager.php on line
> 397, referer:
> http://thewdn.com/administrator/index2.php?option=com_adsmanager&act=import
>>
>>
>>
>>
>
> --
> *Scott Wolpow*
> *718.275.7765*
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20091025/57457cfe/attachment.html>
More information about the Joomla
mailing list