PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > php.general > Rename does not work
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Rename does not work

Réponse
 
LinkBack Outils de la discussion
Vieux 19/10/2007, 10h01   #1
Christian Hänsel
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Rename does not work

""Sascha Braun | CEO @ BRAUN Networks"" <sascha@braun-networks.com> schrieb
im Newsbeitrag news:1192790990.6273.1.camel@localhost...
> 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
>


Hi Sascha,

What is the error? Did you check for folder permissions (chmod)?

Cheerio!

Chris
  Réponse avec citation
Vieux 19/10/2007, 11h49   #2
Sascha Braun | CEO @ BRAUN Networks
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Rename does not work

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

  Réponse avec citation
Vieux 19/10/2007, 12h55   #3
Richard Heyes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Rename does not work

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 Desk software
that can cut the cost of online support
  Réponse avec citation
Vieux 19/10/2007, 23h33   #4
Børge Holen
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Rename does not work

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

  Réponse avec citation
Vieux 20/10/2007, 11h31   #5
Sascha Braun | CEO @ BRAUN Networks
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] Rename does not work

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 .

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 Desk software
> that can cut the cost of online support
>

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h51.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09987 seconds with 13 queries