PDA

View Full Version : Blank page - huh?


shayneh
07-03-2006, 12:29 PM
This is really annoying me. Please cna someone tell me what i have done wrong?

Edited photoplog/config file define('PHOTOPLOG_FWD','forums/'); (same as includes/config.php)
Uploaded all photoplog files to root/photoplog
Uploaded all forum files to their respective folders inside the forums folder (same structure)
Imported the photoplog.xml. All fine.

Changed usergroup permissions on administrator group to all "yes"
Made sure photoplg settings was correct - http://www.thechiefbaboon.com/photoplog

Edited and added link in nav bar to point to http://www.thechiefbaboon.com/photoplog/index.php

However i still get a blank page? what am i doing wrong? Please help. Just cant understand what the problem might be.
Using 3.54 and downloaded the latest Photoplog lite version.

Thank you

Shayne

MikeD
07-03-2006, 04:29 PM
Hi Shayne,
at the first view of your post I'd say immediately: Check Your Forum Links! That means you should check your Settings within the ACP! Check...

PhotoPlog Link
BB Code Link
PhotoPlog Full Path
Upload Dir
Especially the Full Path is very important to get a proper working. Here's the way to get the needed info. In case you don't know it...

1. Create a file. Say "path.php"
2. Insert the following lines

Content visible to registered users only.

3. Now copy the file into your vB directory and enter for example:
"http://www.thechiefbaboon.com/path.php"

4. Now copy the whole path into the ACP field "PhotoPlog Full Path". That should help you ;) -Mike

shayneh
07-04-2006, 05:28 AM
I think i am encountering a strange problem. Created the file path.php with the code and when i enter http://www.thechiefbaboon.com/path.php i just get the text

Content visible to registered users only.

What is not working?

shayneh
07-04-2006, 05:44 AM
Could be that the photoplog is sitting in my root and not in forums/photopolg?

I made sure the Photoplog link in ACP is http://www.thechiefbaboon.com/photoplog so dont think thats it.....???

Morgan
07-04-2006, 04:13 PM
The PhotoPlog config file should have something like the following:
Content visible to registered users only.
This is going to be different than the vB includes/config.php file.

Place the following before the define line in the PhotoPlog config file:
Content visible to registered users only.
To see what error, if any, shows on screen.

shayneh
07-04-2006, 07:51 PM
Warning: chdir(): No such file or directory (errno 2) in D:\hshome\shayneha\thechiefbaboon.com\photoplog\se ttings.php on line 92

Warning: main(./global.php): failed to open stream: No such file or directory in D:\hshome\shayneha\thechiefbaboon.com\photoplog\se ttings.php on line 93

Fatal error: main(): Failed opening required './global.php' (include_path='.;c:\PHP\pear') in D:\hshome\shayneha\thechiefbaboon.com\photoplog\se ttings.php on line 93

So i take it my full path is \hshome\shayneha\thechiefbaboon.com\forums\?

shayneh
07-04-2006, 08:01 PM
Done it. Thank you for everyones help. Appreciate it :)

Morgan
07-04-2006, 08:04 PM
Yep, try this...
Content visible to registered users only.

MikeD
07-04-2006, 10:27 PM
Content visible to registered users only.
Exactly ;). That what Morgan mentioned.

FYI: The above path is the Absolute path. That was the reason why I told you to create the file "path.php" (Post #2) and to check it. Wonder why it won't works. Nah the most important is that your PhotoPlog runs strong ;) -Mike

Morgan
07-04-2006, 10:54 PM
@MikeD: getcwd was good advice; I'm also not sure why shayneh got HTML instead of the path, but he got the path fixed before I noticed post seven (I was replying to post six at the time). ;)