PhotoPlog

Go Back   PhotoPlog > PhotoPlog Lite > "How Do I..." Questions
Screens Demo Purchase Download Register

Reply
Attention: Last reply in this thread was more than 16 Years ago
 
Thread Tools
  #1  
Old 01-19-2008, 08:09 PM
swennekers swennekers is offline
Green Plog
 
Join Date: Jan 2008
Posts: 3
Gallery: 0
Comments: 0
Default Photoplog 4 a dummy :How should i bring to work

Hi There,
  • I have installed vbulletin on a brand new server with the latest stable version of php and mysql.
  • I have installed photoplog lite.
  • I can see the Admin interface in the admincp of vbulletin
  • I set the permissions of the the images directory to 777.
  • I switched php save mode off
The domain for the forum ist something like this.
http://forum.mydomain.net
and the photoplog directory is in the root directory of the vbulletin forum.
"/forum/photoplog"

But it is not working.
when i call the url http://forum.mydomain.net/photoplog
All i get is a blank page.


thanx in advance for any help/ideas/hints
Reply With Quote
  #2  
Old 01-20-2008, 11:35 AM
MikeD's Avatar
MikeD MikeD is offline
Orange Plog
 
Join Date: Jun 2006
Location: Cologne / Germany
Posts: 487
Gallery: 10
Comments: 2
Default

Probably you did not set your Forum Path. Open the config.php within the photoplog directory...

Code:
Content visible to registered users only.
and set the full path to your main forum directory. In your case...

Code:
Content visible to registered users only.
Reply With Quote
  #3  
Old 04-01-2008, 01:46 PM
swennekers swennekers is offline
Green Plog
 
Join Date: Jan 2008
Posts: 3
Gallery: 0
Comments: 0
Default openbasedir

I finaly found out what was wrong. Since this was a kind of tricky i will post this here.

There is a php setting which will configured in the httpd.conf

php_admin_value open_basedir

The value sets the directories which could be read by php.
If the value is set to a subdirectory of your webspace php is not able to process the complete forumpath.
In this case the secound if condition (!is_dir(dorumpath)) in the cmps_index.php fails.

This value can not be set in a htacces file it must be configured in the httpd.conf or in one of its includes files or in the php.ini of your server

if you want that the configured value works for all subdirectories you must set the value to the parent directory without a trailng slash
Reply With Quote
  #4  
Old 04-01-2008, 03:10 PM
swennekers swennekers is offline
Green Plog
 
Join Date: Jan 2008
Posts: 3
Gallery: 0
Comments: 0
Default again

I finaly found out what was wrong. Since this was a kind of tricky i will post this here.
What was wrong was my php_admin_value which was set (restricted) to my html subdirectory

The result was that the skript (forumpath.php) returnded my full forum path but the cmps_index.php could not
access the path because it was not allowed to do so.

What was responsible
There is a php_admin_value setting which will configured in the httpd.conf

php_admin_value open_basedir

The value sets the directories which could be read by php.
If the value is set to a subdirectory of your webspace php is not able to process the complete forumpath.
In this case the secoud if condition "if (!is_dir($forumpath))" in the cmps_index.php fails.

Code:
Content visible to registered users only.
This value can not be set in a htacces file it must be configured in the httpd.conf or in one of its includes files or in the php.ini of your server

if you want that the configured value works for all subdirectories you must set the value to the parent directory without a trailng slash

So if you have problems with your forum path configuration you shoud chec phpinfo.php if openbasedir is set

Example for configuration in httpd.conf

Code:
Content visible to registered users only.
Reply With Quote
Reply

« Previous Thread | Next Thread »

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Work on next Photoplog version eden Feedback & Suggestions 19 09-26-2008 12:57 PM
vBa CMPS Thumbs work with Photoplog Pro? Sodacider Pre-Sale Questions 2 07-23-2007 06:57 AM


All times are GMT. The time now is 12:51 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.