Re: [PHP] Rename does not work

2007-10-20 Thread Sascha Braun | CEO @ BRAUN Networks
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
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Rename does not work

2007-10-19 Thread Børge Holen
On Friday 19 October 2007 12:49:50 Sascha Braun | CEO @ BRAUN Networks wrote:
 Hi everyone,

 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?

say, depends on what the rename function is. I've done some things I find 
hard with php using remote apps from the host OS.


 Thank you very much.

 Sascha

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Rename does not work

2007-10-19 Thread 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Rename does not work

2007-10-19 Thread Sascha Braun | CEO @ BRAUN Networks
Hi everyone,

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?

Thank you very much.

Sascha


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php