Help with SomeryC

crimison

New Member
Messages
1
Reaction score
0
Points
0
Hi I've been trying to use this coding from SomeryC to work on my website.
Its a php code (which im clueless about), and its supposed to make updating comics a hell of a lot easier.
Anyway, one of the pages is a config file and I think Im not filling out it how Im supposed to b/c when I go to the install.php script I keep having problems when it tries to generate tables.

// MySQL database settings
$sqlhost = "localhost"; // usually you can keep localhost
$sqldb = "database"; // the database (ex: host_someryC)
$sqluser = "username"; // the username for the database (ex: host_someryC)
$sqlpass = "password"; // the password for the database

// Website information
$prefix = "someryC_"; // use this to have more than one someryC install in one db
$website = "mysite"; // used for internal systems, such as RSS. your site's title
$websiteurl = "http://mysite.x10hosting.com"; // the URL for your website, ie http://www.yahoo.com (no trailing slash)
$owner_email = "email"; // your email
$cookiesite = "mysitex10hosting.com.ext"; // the domain your cookies should belong to. domain.ext or sub.domain.ext

//IMPORTANT: The following directory should be CHMODed to 777
$uploadDirectory = "?????"; //the URL from the back end (something like /home/user/whatever/) (with trailing slash)
$directoryURL = "????"; //the URL seen from the browser (something like http://www.whatever.com/whatever/) (with trailing slash)

I made a database and username on mysql, however, I dont know what to put for the upload directory and the directory url.

Thanks so much
KC
 

woiwky

New Member
Messages
390
Reaction score
0
Points
0
As I recall, a mod stated in some other topic that you can't chmod over 755. So you may get problems even if all your data is correct.

Regardless, if you're uploading to your web root, then I believe that your upload directory should be "/home/yourusername/public_html/", and your url would just be "http://your.site.url/".
 
Top