![]() |
[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. |
Re: [help] upload/gallery scripts
If you can give me some more details on the exact path structure you've got that would help.. it looks like that may be the problem.
as far as recommendations go.. I've played with practically every gallery script there is (not literally ;)) this one: http://gallery.menalto.com/ is the best thus far ps. welcome to nthellworld.co.uk forums :D |
Re: [help] upload/gallery scripts
There are loads of PHP/MySQL gallery scripts here
http://www.hotscripts.com/PHP/Script...ies/index.html The only think I can think of is that your path's are wrong, what is on line 2 of install.php? |
Re: [help] upload/gallery scripts
Thanks for the replies, I drank a fair bit and fell asleep, then woke with a sore head and slept.
Feeling much better and on top of things (yeah right) I managed to delete everything and instead I've used 2 scripts, 1 to upload and another to automate a gallery display :D Cheers, Here's to drinking to moving on... |
| All times are GMT. The time now is 03:23. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum