Greenguy's Board WebcamWiz CRAZY $5,000 Reward Bonuses

WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses WebcamWiz CRAZY $5,000 Reward Bonuses

Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2014-08-18, 05:20 AM   #1
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Question A question for people who DO code in Perl

Does the following line in Perl make sense to you? And has Perl changed so that it used to be OK but is not any longer?

Code:
if ($temp eq '<!--#qwert93692mnbvc *-article-* copyright -->'){&ARTICLE};
The reason I am asking is that I have been using it in a script on several sites for years and it has worked fine. The script suddenly stopped working on one server, and the hosting company claim that there is NOTHING WRONG WITH THEIR PERL ENGINE, but that this line is faulty, and causing the script to time out.

To me this makes no sense, but before I call them idiots I thought I had better check that it is not me who is the idiot!
ecchi is offline   Reply With Quote
Old 2014-08-18, 01:12 PM   #2
bDok
bang bang
 
bDok's Avatar
 
Join Date: Mar 2005
Location: SD/OC/LA
Posts: 3,241
Send a message via ICQ to bDok
I'd start by just seeing that the installed versions of perl being used on the machines are the same.

do you have access to the error logs?
__________________
submit to Nymphotic
submit to Moistlace
bDok is offline   Reply With Quote
Old 2014-08-18, 03:05 PM   #3
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by bDok View Post
I'd start by just seeing that the installed versions of perl being used on the machines are the same.
It is not, the servers use different OS.
ecchi is offline   Reply With Quote
Old 2014-08-22, 11:14 AM   #4
bDok
bang bang
 
bDok's Avatar
 
Join Date: Mar 2005
Location: SD/OC/LA
Posts: 3,241
Send a message via ICQ to bDok
If you want this solved and are fine with paying money. I'd see if you could call Ray that does strongbox and see if you can have him consult on it. Probably would have it fixed in 10-15 minutes. Guy is a perl/server god.
__________________
submit to Nymphotic
submit to Moistlace
bDok is offline   Reply With Quote
Old 2014-08-23, 02:01 AM   #5
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by bDok View Post
If you want this solved and are fine with paying money. I'd see if you could call Ray that does strongbox and see if you can have him consult on it. Probably would have it fixed in 10-15 minutes. Guy is a perl/server god.
Thanks but I don't own the server, I lease, so that is not an option. Also, it is in East Europe, so I'm guessing his travel expenses alone will be more than I can afford!
ecchi is offline   Reply With Quote
Old 2014-09-04, 07:24 PM   #6
lezinterracial
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
 
Join Date: Dec 2012
Posts: 152
Did you ever get that working?

I don't know perl, but
Should the ; be after }?

I am wondering if the end of line operator ; is causing problems.

like so
Code:
if ($temp eq '<!--#qwert93692mnbvc *-article-* copyright -->'){&ARTICLE;}
Or just remove the semicolon?
Code:
if ($temp eq '<!--#qwert93692mnbvc *-article-* copyright -->'){&ARTICLE}

Last edited by lezinterracial; 2014-09-04 at 07:41 PM..
lezinterracial is offline   Reply With Quote
Old 2014-09-05, 04:19 AM   #7
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by lezinterracial View Post
I am wondering if the end of line operator ; is causing problems.
Shouldn't be. Using a ; after a } is optional, but I always do it because in my early Perl days I kept forgetting the semicolon where it is necessary (practically at the end of every line except those ending in a }). I have around a hundred programs running with }; at the end of at least one line, and they all work.

Quote:
Originally Posted by lezinterracial View Post
Did you ever get that working?
In another thread Housekeeper suggested it was a permissions problem at the server end. This makes a lot of sense to me, but as I don't have access to the server I cannot check it, and the hosting company is insisting it is a script error at my end.

We solved the problem by moving the site to a different server, which I kinda think proves the theory that it is a server problem.......But the hosting company still insist it was a script error
ecchi is offline   Reply With Quote
Old 2014-09-05, 05:19 AM   #8
lezinterracial
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
 
Join Date: Dec 2012
Posts: 152
Glad you got it fixed.
lezinterracial is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:21 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc