my problem is a newbie problem cause I am sure more experienced webmasters can fix this in seconds. ok, so I have my plogger collection & albums (of around 4000 photos!) all set up with no problems. It is hosted at my hostgator and I can access it from www.mysite.com/ploggerb3/ no problems
also I got all my other html and php pages ready to get uploaded. I have created a gallery1.php page with my layout & my css etc and put those 3 lines of code in it exactly as per instructions.
What I am not sure is this: my public_html folder, has the root directory of www.mysite and inside this there is the ploggerb3 directory. Where do I upload my other files? (the ones for www.mysite.com : index, faq, contact etc)??
Should I upload them in the root directory of www.mysite or in the www.mysite.com/ploggerb3 directory? The instructions mention that <blockquote>"Be sure that your gallery template resides in the same directory as gallery.php or else the following function calls will not resolve the CSS paths properly" </blockquote> can I just cut/paste the gallery.php into the root directory? and then upload all the other files?
I have also tried this: uploading everything to the root directory leaving the ploggerb3 directory untouched.
In my gallery1.php page on the first line a changed the path of <?php include("gallery.php"); ?> with this <?php include("/ploggerb3/gallery.php"); ?>
and got the following errors:
Warning: include(/ploggerb3/gallery.php) [function.include]: failed to open stream: No such file or directory in /home/+++++++/public_html/+++++++++++.com/gallery1.php on line 1
Warning: include() [function.include]: Failed opening '/ploggerb3/gallery.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/+++++++/public_html/+++++++/gallery1.php on line 1
Fatal error: Call to undefined function the_gallery_head() in /home/+++++++/public_html/+++++++/gallery1.php on line 5
ok figured it out uploaded all the files to the root directory leaving the ploggerb3 directory untouched.
then put the correct path to the first line of the gallery1.php which is <?php include("ploggerb3/gallery.php"); ?> note without the "/" in the beginning works like charm check it here: http://www.freefilmposters.com (needs a bit work here and there but it should finish soon)