Find Jobs
Hire Freelancers

Fix Perl Scripts For Use On New Server

$30-100 USD

Completed
Posted about 16 years ago

$30-100 USD

Paid on delivery
For anyone who knows Perl really well, these should be some relatively quick and easy fixes. I have 2 Perl scripts that have been working perfectly for me for the past year and a half. Now I have switched web hosts to a new server, and need them to work on the new setup. The scripts are as follows: Script #1. A very simple script that sets up my MySQL database table (for a database I've already created) and prepares it to accept customer order data variables. Right now it seems to produce an error when a database function is called. I have no idea why this is not working on the new server; it was working perfectly on the old one. The code that seems to error out is the "db_error" call in: my $dbh = DBI->connect("DBI:mysql:$database:$hostname", $user, $password) || db_error("unable to connect to $database", $DBI::errstr); And when I removed the db_error call, it simply errored out a little later on on a do command in the line: my $sth = $dbh->do($query); Because these worked perfectly with the other server and seem to be common functions, I have no idea why they are not working on the new server. Script #2. A script that takes my order data, charges the customer credit card, and puts the order data into the MySQL database table that script #1 set up. Again, this one seems to be having trouble when database functions are called, thus producing a 500 Internal Server Error. Basically I just need these perl scripts to function perfectly on my new web host and then my site will be back to normal again.
Project ID: 3900545

About the project

9 proposals
Remote project
Active 16 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$29.75 USD in 3 days
5.0 (50 reviews)
5.4
5.4
9 freelancers are bidding on average $54 USD for this job
User Avatar
See private message.
$25.50 USD in 3 days
4.8 (130 reviews)
8.1
8.1
User Avatar
See private message.
$85 USD in 3 days
5.0 (45 reviews)
5.1
5.1
User Avatar
See private message.
$72.25 USD in 3 days
5.0 (54 reviews)
5.1
5.1
User Avatar
See private message.
$85 USD in 3 days
4.9 (39 reviews)
4.9
4.9
User Avatar
See private message.
$25.50 USD in 3 days
4.5 (18 reviews)
3.6
3.6
User Avatar
See private message.
$36.55 USD in 3 days
5.0 (5 reviews)
2.5
2.5
User Avatar
See private message.
$42.50 USD in 3 days
5.0 (2 reviews)
1.5
1.5
User Avatar
See private message.
$85 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Plato, United States
5.0
90
Payment method verified
Member since Sep 10, 2005

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.