Topic: Possible problems updating the database (Read 520 times)
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7974
40801 credits Members referred : 3
« on: Mar 07, 2007, 07:01:55 PM »
Bellow are some errors that you may get from the update script, and some possible fixes to them.
Error:
Quote
Permission denied. Chmod 666 the files marketplace_feed_v1.xml and marketplace_feed_v1.xml.zip and try again.
I guess the description of the error sais exactly what you have to do here. Chmod both files to 666, and in case that the files do not exist there, create them (empty) and give them 666 permissions. It is important that both of the files should be empty, otherwise the script will try to parse the files. To create empty files just use (under windows) right click in the folder -> New -> Text document, and give to the new document the desired filename.
Error:
Quote
Curl extension is not loaded. You should upload the XML zip file manually.
As Clickbank uses SSL to transmit the XML file it would be impossible to download it automatically with another way. So in case you got that error, you should download the file your self and upload it to your installation directory. The file you have to upload is marketplace_feed_v1.xml.zip
Error :
Quote
File is empty. Quiting....
This problem will occur only if :
The marketplace_feed_v1.xml.zip file does not exists in your installation directory
The marketplace_feed_v1.xml.zip exists but it has zero length
In most cases you should not get that error. In case you have it, do both of the solution above : Download the zip file manually from clickbank, chmod it to 666 and run the script again.
Hope I haven't forgot anything. If this information is still not enough please post here or send us an email to fix the problem for you.
PS : The installation directory is the top directory of your CCSB copy. It is the directory that contains the importXML.php file
« Last Edit: Mar 07, 2007, 07:06:13 PM by Nikolas »