corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » web design / perl help needed!


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author web design / perl help needed!
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 22:13   View User's Profile U2U Member Reply With Quote

Seems there have been a few posts up tonight about help of programming or webdesign I thought I would add one of my own!

Trying to set-up a shopping cart on my site, seem to have installed it all correct but cant get it to work right!

Anyone want to offer some help if you know anything about webdesign or perl?!

cheers
Trotty
Member

Registered: 22nd Feb 01
Location: Bristol
User status: Offline
18th Mar 03 at 22:17   View User's Profile U2U Member Reply With Quote

I'll have a bash but I'm no expert on Perl.

Lets see some details then...

Ian
========
CorsaSport Moderator
South West Organiser
Click here to e-mail me
Click here to sign up for Premium Membership
========
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 22:19   View User's Profile U2U Member Reply With Quote

OK, give me a sec and I'll post up what I can about the problem!
Joff
Member

Registered: 17th Oct 00
Location: Cambridgeshire
User status: Offline
18th Mar 03 at 22:19   View User's Profile U2U Member Reply With Quote

I'd give up on Perl if I was you - it's a dying language, Perl and all that PHP crap.

Trotty
Member

Registered: 22nd Feb 01
Location: Bristol
User status: Offline
18th Mar 03 at 22:21   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Joff
all that PHP crap.




Yeah, I mean who uses PHP these days?

Ian
========
CorsaSport Moderator
South West Organiser
Click here to e-mail me
Click here to sign up for Premium Membership
========
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 22:24   View User's Profile U2U Member Reply With Quote

Right, I have managed to install the cart into my cgi-bin and have changed the permissions and code where it needs to be changed. I've also managed to create the mySQL database and tables needed for it to work!

But when I try to call up http://www.samuraituning.com/cgi-bin/store/admin/index.html it doesnt work.

I think it may be because I can't open html pages from my cgi-bin, but not sure, what you think?
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 22:27   View User's Profile U2U Member Reply With Quote

until I can afford to get the site done by a proper web designer and get the cart custom written I'll have to settle for perl!
Trotty
Member

Registered: 22nd Feb 01
Location: Bristol
User status: Offline
18th Mar 03 at 22:29   View User's Profile U2U Member Reply With Quote

Surely you should be linking to a perl script from your cgi-bin?

http://www.blah_blah.com/wibble/fnarg.pl or fnarg.cgi perhaps?

Ian
========
CorsaSport Moderator
South West Organiser
Click here to e-mail me
Click here to sign up for Premium Membership
========
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 22:31   View User's Profile U2U Member Reply With Quote

Thats 'cos I just moved the index.html outside the cgi-bin and forgot to change the redirect to point to index.cgi inside the cgi-bin!
Trotty
Member

Registered: 22nd Feb 01
Location: Bristol
User status: Offline
18th Mar 03 at 22:33   View User's Profile U2U Member Reply With Quote

Ta-da!

Ian
========
CorsaSport Moderator
South West Organiser
Click here to e-mail me
Click here to sign up for Premium Membership
========
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 22:33   View User's Profile U2U Member Reply With Quote

I'll see if it works now,
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 22:47   View User's Profile U2U Member Reply With Quote

OK, tried sorting the redirect out so that it will open up index.cgi that is in the cgi-bin, I've modified the code that was alreadt there to this...

<script language="javascript1.1">
<!-- Hide
location.replace ('http://www.samuraituning.com/cgi-bin/store/index.cgi');
// end hide -->
</script>

but it still says http 404 etc....


ahhhhhhhhh!
Trotty
Member

Registered: 22nd Feb 01
Location: Bristol
User status: Offline
18th Mar 03 at 22:49   View User's Profile U2U Member Reply With Quote

Well that link works so it's an error in the JS...

2 mins...

Ian
========
CorsaSport Moderator
South West Organiser
Click here to e-mail me
Click here to sign up for Premium Membership
========
Trotty
Member

Registered: 22nd Feb 01
Location: Bristol
User status: Offline
18th Mar 03 at 22:52   View User's Profile U2U Member Reply With Quote

<script language="JavaScript">
<!--
function redirect()
{
window.location = "http://www.samuraituning.com/cgi-bin/store/index.cgi"
}
setTimeout("redirect();", 5000)
-->

Try that

Ian
========
CorsaSport Moderator
South West Organiser
Click here to e-mail me
Click here to sign up for Premium Membership
========
Cosmo
Member

Registered: 29th Mar 01
Location: Im the real one!
User status: Offline
18th Mar 03 at 23:00   View User's Profile U2U Member Reply With Quote

it still doesnt fuckin work!

Thinking about it though I'm going to have a splash page in the end anyway so wont need it in the end!

Cheers for the help mate!
Trotty
Member

Registered: 22nd Feb 01
Location: Bristol
User status: Offline
18th Mar 03 at 23:01   View User's Profile U2U Member Reply With Quote

No problems
Although that should work...

Ian
========
CorsaSport Moderator
South West Organiser
Click here to e-mail me
Click here to sign up for Premium Membership
========

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Web Design Mo Geek Day 4 1108
31st Oct 03 at 02:32
by Mo
 
Anyone online who's good with Perl ? GREG 1 Geek Day 6 781
13th Apr 04 at 18:12
by GREG 1
 
Thoughts on this Website im making? PainZ General Chat 24 1184
18th Apr 04 at 15:21
by sassyminx
 
JC design spoiler Dave_Gordon Help Zone, Modification and ICE Advice 6 981
23rd Sep 04 at 15:48
by ETSMotorsport
 

Corsa Sport » Message Board » Off Day » Geek Day » web design / perl help needed! 28 database queries in 0.0179019 seconds