Find Jobs
Hire Freelancers

small perl script fix

$30-100 USD

Completed
Posted almost 11 years ago

$30-100 USD

Paid on delivery
I have a website that updates its data every day (a real estate site)... last month I hired a developer from here to make a change to remove certain listings from the site... The developer made the changes BUT apparently there was a problem we missed that I need fixed... I need this fixed asap SO you must be available today... I am getting errors like this: Record 1 (331092358 - F1234104) - Area 3010 - 97 features DBIx::Class::ResultSet::update_or_create(): DBI Exception: DBD::mysql::st execute failed: Column 'prop_id' cannot be null [for Statement "INSERT INTO features ( code, name, prop_id, value) VALUES ( ?, ?, ?, ? )" with ParamValues: 0='90', 1='Front Exposure', 2=undef, 3='North'] at cgi-bin/[login to view URL] line 551 here is a sample of the affected code: (line 551 is "$prop->features->update_or_create( {") ***START*** foreach my $prop ( $rs->all ) { debug( $prop->id . " - " . $prop->feature(157) ); $prop->delete; debug( " removed\n" ); delete_photos( $prop ); } } sub set_feature { #my $prop_id = shift; my $prop = shift; my $rec = shift; #$features_rs->update_or_create( { eval { $prop->features->update_or_create( { name => $rec->{name}, code => $rec->{code}, value => $rec->{value}, prop_id => $rec->{prop_id}, } ); }; warn $@ if $@; } sub delete_photos { my $prop = shift; of the code with the problem...
Project ID: 4664336

About the project

1 proposal
Remote project
Active 11 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 see private message.
$100 USD in 3 days
5.0 (15 reviews)
4.8
4.8

About the client

Flag of UNITED STATES
Newnan, United States
5.0
86
Payment method verified
Member since May 24, 2006

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.