Fix Yii website error

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
Hi there,

I am looking for freelancers who are skilled with PHP and Yii.

I have a Flash based script which lets users create bead patterns then upload them to my server via PHP. The script is integrated with my Yii website, and pulls in the currently logged in user's user ID and username and saves them in the database along with the path file to their created pattern.

However, since moving to a new server the pattern saving/loading feature no longer works. When I directly access the function that loads the picture, it gives this error: "CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'bb5cae4ec81cacb55fc55d0deca99d03' for key 'PRIMARY'."

I am using a database session system so it seems like maybe there is some interaction there. But what's weird is that I had sessions working fine with this on a different server.

I need someone who is experienced with Yii and PHP to figure out what is causing this error and fix it so that the pattern saving/loading functions of the Flash script work again. The Flash file itself is not broken, so no Flash/ActionScript experience is necessary.

Link to the script: (the last two buttons on the toolbar are the features that are broken)
Link to what happens when the getPictures function is called:

Thanks, and I look forward to working with you!

Skills required:
Hire falsetigerlimbs
Project posted by:
falsetigerlimbs United Kingdom
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

$ 60
in 1 days