GetDotted Domains

Viewing Thread:
"Urusei Machie"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Sat 18/11/06 at 21:41
Regular
Posts: 19,415
This is where I post problems and questions while I work on my Language/Travel website.

Link coming soon =)
Fri 24/11/06 at 12:46
Regular
"Devil in disguise"
Posts: 3,151
Machie wrote:
> Okay next I want to use this script to display the time ane date
> "00:00AM/PM on Monday" but I want to be able to add or
> subtract hours. This is for the time zones. So Singapore is 8
> hours ahead so it would have to +8 in somewhere, and for New
> York -5. Could I use this script? Would it be easy to do that?

The script looks like it'll do it easily enough as it already has support for time zones. Just a matter of rearranging the output as you want it I guess.

> and if I have 200 pages with this does that mean I would have to
> have 200 perl scripts or could I do something in the code that
> calls it to the webpage?

If you have 200 pages, theres nothing to stop all of them calling the same script. So no, you dont need 200 copies of the perl script. :)
Fri 24/11/06 at 12:09
Regular
Posts: 19,415
Ah I have it working now :D

Okay next I want to use this script to display the time ane date "00:00AM/PM on Monday" but I want to be able to add or subtract hours. This is for the time zones. So Singapore is 8 hours ahead so it would have to +8 in somewhere, and for New York -5. Could I use this script? Would it be easy to do that? and if I have 200 pages with this does that mean I would have to have 200 perl scripts or could I do something in the code that calls it to the webpage?
Fri 24/11/06 at 09:54
Regular
Posts: 19,415
d'oh I thought it might be that but by the time I realised I was already in bed :D I'll test it now.

It's my perl test for the moment :) I think my robot txt is still telling the search engines to go away.
Fri 24/11/06 at 09:09
Moderator
"Are you sure?"
Posts: 5,000
Garin wrote:
> Ok, somewhat easier if the script is working.
> The page thats got the SSI on it, make sure the file extension
> is shtml instead of just html.

It does look like it's 'html' and not 'shtml' - well that's Machie's current home page with the clock code in it anyway - which would explain why the code isn't being called.


Not quite the 'holding page' I suggested way back - but I guess it's better than the hosts adverts...
Fri 24/11/06 at 01:53
Regular
"Devil in disguise"
Posts: 3,151
Ok, somewhat easier if the script is working.
The page thats got the SSI on it, make sure the file extension is shtml instead of just html.
Fri 24/11/06 at 01:42
Regular
Posts: 19,415
hm going to it directly it works fine. That's odd. I checked the error log again and it's not listing any error since 11. I added a font color to the body tag but I dont think that would make much difference.

The script is working right? Because it worked when I went directly, it's just this code on the index page isnt doing it's job :/

There are other scripts in the cgi-bin but not sure what they are. randhtml.cgi entropybanner.cgi cgiemail. I wonder if these are just default files.

Maybe I'll create something using the cPanel X. I'll try the counter.
Fri 24/11/06 at 01:27
Regular
"Devil in disguise"
Posts: 3,151
You wont want to use ASP I can assure you. :)
Forget the SSI for the moment, try to get the script running by calling it directly from a browser, ie http://www.mydomain.com/cgi-bin/textclock.cgi

And if it doesnt work, find the corresponding entry(s) in the error log and check its still the premature end of script headers one.
Out of ideas at the moment though. I've taken the code and tried it myself, it definitely works which suggests its some configuration issue. I'm assuming other cgi scripts run from the cgi-bin ok? You say you've chmod'ed the file to 755 so there isnt much left to check.
Fri 24/11/06 at 01:09
Regular
Posts: 19,415
:( you were right about the path but still no luck. I then changed the code to call .pl instead of .cgi but it didnt work, so I tried changing them both to .cgi and that didnt work either >_< do'h okay I sent an email to their support so maybe they might be able to help. If not then umm I dunno, maybe I'll have to go php afterall. Or asp? Companies tend to use that instead, I wonder why?
Fri 24/11/06 at 00:57
Regular
"Devil in disguise"
Posts: 3,151
Machie wrote:
> hmm perhaps I should DF if #!/usr/local/bin/perl is the correct
> path,

If the dataflame server you're on has cpanel installed, you can find the correct path to perl under General Server Information. On mine its /usr/bin/perl

> and the bit. Is it suppose to call up the file as a .cgi file and not a .pl file?

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

10/10
Over the years I've become very jaded after many bad experiences with customer services, you have bucked the trend. Polite and efficient from the Freeola team, well done to all involved.
Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.