PDA

View Full Version : maintain changes to perl files


robynne
02-Oct-2003, 10:02 AM
Hi folks,
I have made a change to the ss000001.pl file, which i uploaded and worked fine.
The problem i have is that the change seems to be overwritten with the original ss000001.pl whenever i upload any other changes.

ie. As my site has an overall black background, the white page that displays briefly while the script is running is quite blatant, so i have included some code in the perl script to output a blank black page while script is running.
That works fine until my next site update, when the file reverts to its original.

Any ideas??

TIA,
Robynne.

NormanRouxel
02-Oct-2003, 10:22 AM
ss000001.pl is the uploaded version of SearchScript.pl that you'll find in your Site1 folder. SearchScript.pl is the one to make changes to (make a backup first).

You'll also find it a lot easier to work with as this is the fully commented and nicely laid out version.

When you do a site update, Actinic will detect that it has changed and automatically upload it for you (as ss000001.pl). It also compacts the code and strips the comments to save server load.

Norman

robynne
02-Oct-2003, 10:32 AM
Many thanks, Norman - once again you save the day.
cheers,
Robynne

jxm28788
27-Apr-2006, 02:54 PM
You'll also find it a lot easier to work with as this is the fully commented and nicely laid out version.

When you do a site update, Actinic will detect that it has changed and automatically upload it for you (as ss000001.pl).

I've made the first non commented line of the shoppingcart.pl file "exit;" but when I upload the site I can view the cart, add to it, update it and it works just fine... what am I missing...?

NormanRouxel
27-Apr-2006, 10:30 PM
Use FTP to look at ca000001.pl in your cgi-bin. That's what ShoppingCart.pl becomes (assuming your script ID is 1) when uploaded. See if your code is in that file.

jxm28788
28-Apr-2006, 08:44 AM
I started a new site for another reason and that fixed it... now I have other problems, but that's another thread...