Re: Rename does not work
| From: | Sascha Braun | CEO @ BRAUN Networks | Date: | Sat, 20 Oct 2007 10:31:31 +0000 |
| Subject: | Re: Rename does not work | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-263437@lists.php.net to get a copy of this message | ||
Both versions are PHP 5.2.4_p20070914-r2
I backchecked the rights a couple of times. There to problem
does not appear.
I cant really understand what is happening. On the server
eaccelerator and memcache is performing its work. I believe
that when I restart the apache and as well the memcache all
classes I am writing to the memcache and i guess to the e-
accelerator are deleted, or?
The problem first occured since I was writing a function to
read an xml files storing image names as values in its para-
meters, and rewriting these values each time, the xml docu-
ment is stored again, by simply renaming the images.
Now I left the function out, because its not really needed
to rewrite the picuture names over and over. But the problem
remains.
Maybe I am doing something wrong with eaccelerator, so its
keeping an old version of the class in mind?
How do I empty eaccelerator, because a memcache restart does
not make a fix.
Thank you for your help.
Sascha
Am Freitag, den 19.10.2007, 12:55 +0100 schrieb Richard Heyes:
> Sascha Braun | CEO @ BRAUN Networks wrote:
> > I am using the rename function on my local development
> > system fine. But as soon as I upload the script, the
> > rename function does not work anymore.
> >
> > Is there a specific compiler flag needed, to make rename
> > work on both plattforms?
>
> You're using different platforms for developing and your live version?
> Mistake number one. As for the rename issue, first guess is permissions.
> As in, you don't have them.
>
> --
> Richard Heyes
> +44 (0)800 0213 172
> http://www.websupportsolutions.co.uk
>
> Knowledge Base and HelpDesk software
> that can cut the cost of online support
>