|
[help] upload/gallery scripts
MySQL / PHP help
Any MySQL masters around?
I'm trying to setup an image upload/gallery script and keep getting errors whilst trying to use the install.php file
Warning: main(../admin/funcs.inc): failed to open stream: No such file or directory in /hsphere/local/home/upload/install.php on line 2
Warning: main(): Failed opening '../admin/funcs.inc' for inclusion (include_path='.:/usr/local/lib/php') in /hsphere/local/home/upload/install.php on line 2
(I've removed the two paths for my site name, just in case you were wondering why the paths don't look complete)
Now, with the files was a "include.inc" file, which I've added my details to from the MySQL database I've created:
$sql_host=''; // Host name
$sql_user=''; // User name
$sql_pass=''; // User password
$sql_db=''; // DataBase name
$sql_uin=''; // Unique ID of TGP
(with my info between the ' and ' )
It's not having any of it, and there weren't many instructions with it "just upload to your webspace and run the install.php file, once you've created a MySQL database"
hmmm, stumped, I need a drink before I can usually fix things like this, didn't have any of this bother when I setup a messageboard phpbb, that was pretty straight forward, and I've used phpMyAdmin a fair bit, so wouldn't have thought this would have been a problem
If anyone can help, please shout with what might be obvious!
or
If you know of a good upload/gallery script which allows the admin to specify image maximum sizes in pixels and file sizes, point me to it please, this can be php/MySQL or cgi-bin, I can use either on the server I'm on...
Ta.
|