Page 3 of 3

Re: testing perl offline

PostPosted: 10. November 2011 01:42
by moneysav
or maybe you are right. Just use firefox when offline
cheers

Re: testing perl offline

PostPosted: 10. November 2011 01:47
by Sharley
moneysav wrote:or maybe you are right. Just use firefox when offline
cheers
Much much easier until you need to buy a new PC with all the new gidgets, bells and whistles and as pointed out XP is very limited to what M$ will allow you to upgrade as XP will soon no longer be supported.

Best wishes for sunny Queensland. :)

Re: testing perl offline

PostPosted: 10. November 2011 01:54
by moneysav
okeydokey.

I will look up firefox for installation.
thanks for all your support there in sunny Queensland. (lol)
cheers,
moneysav

Re: testing perl offline

PostPosted: 10. November 2011 02:07
by Sharley
8) I will close this topic now so if you have any other issues please create a new topic.

Thanks and good luck. :)

Re: Running from another location

PostPosted: 10. November 2011 07:17
by moneysav
Hi Sharley,
Comming here from a closed subject but it kinda blends in.

After installing xampp on my home computer to be able to edit and debug my website offline, We finally figured out the Internet Explorer 7 and xampp are not compatible. I installed Firefox as a different browser and thought that it would solve my problems. Well it really didnt. After much coffeeing and smoking, I discovered that the original programming for my web site is in a Perl format that xampp does not like.

For example:
Server error!

Êtegory is not a valid variable name at F:/xampp/htdocs/xyz.pl line 3 BEGIN failed--compilation aborted at F:/xampp/htdocs/xyz.pl line 3

All through his scripts is the Êtegory word and xampp perl cannot get past this statement to run the rest of the programs. If I remove this word then my main program will not run.

Therefore I am left with using xampp for the simplest of modifications as a standalone's code and thereafter incorporating it into the main body of the program and seeing how it looks. Pity, it would have been nice to be able to see my modifications offline with all the tables and whistles and bells.

cheers,
Moneysav

Re: testing perl offline (XP) 1.7.7 [SOLVED]

PostPosted: 10. November 2011 07:27
by Sharley
I have reopened this topic so anyone who can help can do so.

Perhaps if you post some of the code or let us know what the perl scripts are you are using, it would help us to help you.

Re: testing perl offline (XP) 1.7.7

PostPosted: 10. November 2011 08:17
by moneysav
Hi, here is the top lines from the main program
#!"\perl\bin\perl"

use vars qw(%config Êtegory %form %supercat);
use strict;
use POSIX qw(strftime);

Re: testing perl offline (XP) 1.7.7

PostPosted: 10. November 2011 08:39
by Sharley
Code: Select all
#!"\perl\bin\perl"
Incorrect, it needs to be the full path to perl.exe or it will not be found on your local test XAMPP - that location is C:\xampp\htdocs\perl\bin\perl.exe which is clearly incorrect.
Code: Select all
#!"F:\xampp\perl\bin\perl.exe"
This will find the perl.exe file.


Post #3 here may be has the solution for your Auction script problem.
http://www.usanetcreations.com/dcforum/ ... D4/18.html

Looks like you need to disable Flock but I guess you know all about this forum as you have posted there already.
Where you expecting a different solution from this forum?
BTW for you the path to perl in post #3 is incorrect use the path I posted above instead.


This issue has nothing to do with XAMPP for Windows and has now gone off topic so I am closing it again,

Post in the MakeBid Auction forum above like you have done already for issues with your scripts.

Friendly warning - please do not posts in these Apache Friends forums again for issues with your Auction perl scripts.

Good luck.