NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
File is already encoded


Joined: 08 Feb 2008
Posts: 3
Location: norn iron
Reply with quote
hey!!

i'm trying to encode some php. i had it encoded the other day but deleted it as i has a newer version created.

when i try to encode it now i keep getting the message... 'fatal error: file is already encoded'

i have deleted the previous encoded version and its still not working... why??

thanks
View user's profileFind all posts by scostelloSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
You can't encode a file that is already encoded. It will not work on the server, so nucoder returns the error to avoid the problems.
I'd recommend you to encode on-the-fly while uploading the files to the server, or encode them into a separated directory, out of the project tree.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 08 Feb 2008
Posts: 3
Location: norn iron
Reply with quote
i'm doing all this on localhost for now.

how do i use seperate directories?

thanks for your help!!
View user's profileFind all posts by scostelloSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
for example with command below
nucoder.exe -r --copyall --ext php,inc -c 5.0 c:\sourcedir c:\targetdir
nucoder will walk through all the files in c:\sourcedir recursively, will encode files with *.php and *.inc mask. Results will be stored in c:\targetdir. All non-php files will be copied as is. Encoded files will be compatible with php5.0 and higher.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
File is already encoded
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic