Find Jobs
Hire Freelancers

MySQL / PHP Script Fix

$30-250 USD

Completed
Posted almost 16 years ago

$30-250 USD

Paid on delivery
I recently purchased a small website that uses PHP & MySQL. It worked perfectly on another hosting company, but when I installed it on my server it will not work properly. I believe it is perhaps a MySQL issue as the previous version of MySQL was 4.1.12, and now I am using it on version 4.1.20. The script is reading and writing to the DB, although it is not working correctly. I am seeing the following errors: PHP Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/…. And the script is not reading and writing cookies correctly. Here is one sample section of the script that is giving errors: <? } } else if ($type == "my-favorites") { $query_2 = "SELECT * FROM favorites WHERE cookie_id = $cookie_id ORDER BY rand() DESC"; $queryResource_2 = mysql_query($query_2); while ($row_2 = mysql_fetch_array($queryResource_2, MYSQL_ASSOC)) { $resource_id = $row_2['resource_id']; $query = "SELECT * FROM resources WHERE resource_id = $resource_id AND category_id = $id"; $queryResource = mysql_query($query); if ($row = mysql_fetch_array($queryResource, MYSQL_ASSOC)) { $title = ShortenText($row['title'],45); $url = ShortenText($row['url'],60); $temp_div_number++; $row_count++; ?> I am looking for someone who understands PHP and MySQL, and can make my site work correctly. Site also uses AJAX, but I do not believe there is a problem with this.
Project ID: 281003

About the project

14 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
please view pmb.
$50 USD in 1 day
4.9 (11 reviews)
4.9
4.9
14 freelancers are bidding on average $69 USD for this job
User Avatar
Hi, I can get it done in 1 day. Please check my PM. Thank you.
$100 USD in 1 day
5.0 (289 reviews)
8.2
8.2
User Avatar
Hi, I have experience on AJAX and customized PHP system. Please send me details then I can see whether I can help you. Regards Bo Zhang
$40 USD in 1 day
5.0 (289 reviews)
7.1
7.1
User Avatar
can you pls provide me your website url. Thanks
$65 USD in 0 day
4.9 (203 reviews)
6.6
6.6
User Avatar
Hi, Please see PMB. Thank you,
$100 USD in 3 days
5.0 (100 reviews)
6.2
6.2
User Avatar
Satisfaction guaranteed. Escrow required before i start working on the project. Regards
$50 USD in 1 day
5.0 (157 reviews)
6.0
6.0
User Avatar
Message in PM...
$150 USD in 8 days
5.0 (61 reviews)
6.0
6.0
User Avatar
Please see PMB
$30 USD in 0 day
5.0 (68 reviews)
5.9
5.9
User Avatar
We can do the fix
$50 USD in 1 day
5.0 (41 reviews)
5.8
5.8
User Avatar
I can fix this
$75 USD in 1 day
4.9 (30 reviews)
4.8
4.8
User Avatar
Hi. I can fix it today. It seems problem in php version not mysql. No escrow required. Thanks.
$50 USD in 1 day
5.0 (6 reviews)
3.8
3.8
User Avatar
Please check PM, Thanks.
$30 USD in 1 day
4.9 (8 reviews)
3.3
3.3
User Avatar
Hi, I can fix your problem ASAP. Thank you.
$50 USD in 0 day
5.0 (1 review)
3.0
3.0
User Avatar
i can help you.
$125 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Henderson, United States
5.0
15
Payment method verified
Member since Dec 9, 2007

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.