Author |
Message |
28/01/2002 07:53:12
|
Anonymous
|
I'm kinda new at this so bare with me. I must have something screwed up somewhere, the images for the guestbook are being called for from the wrong dir
ex: /php/img/sign.gif
and should be
ex: /guestbook/img/sign.gif
I have no dir /php/ on my server and have no idea why it's trying to call from that dir??? I'm not familiar enough with php scripting to locate a fix in the code myself. Please Help!!!
|
|
28/01/2002 08:04:48
|
Anonymous
|
hi, i have the same problem!
the path to the images is .../php/modules/gbook/... and should be ../modules/gbook/... i have some php coding experience but couldnt fix it and when you make the dir php/modules ... the images arent loaded also.
its a great guestbook so i hope someone could help.
|
|
28/01/2002 08:44:41
|
Anonymous
|
An extra 2 slipped into my first post in the subject line.... Just wanted to clarify that I'm having problems with Advanced Guestbook 2.3 not 2.23.
|
|
28/01/2002 13:08:19
|
Anonymous
|
Change
$GB_PG["base_url"] = "http://www.yourdomain.com/correct_path/";
in the configuration file config.inc.php
|
|
28/01/2002 15:13:28
|
Anonymous
|
that doesnt work, but i found a solution for my problem!
a coder had scripted a hack of this guestbook thet is almost as good as the original here is the dl link:
http://www.tp-krefeld.de/modules.php?name=Downloads&d_op=getit&lid=1
|
|
28/01/2002 15:30:16
|
Anonymous
|
remove this code snippet:
------------
if (ereg("php.exe",$HTTP_SERVER_VARS["PHP_SELF"])) {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["REQUEST_URI"]);
} elseif (isset($HTTP_SERVER_VARS["SCRIPT_NAME"]) && !empty($HTTP_SERVER_VARS["SCRIPT_NAME"])) {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["SCRIPT_NAME"]);
} else {
$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
}
with:
$GB_PG["base_url"] = "http://www.yourdomain.com/correct_path/";
tested and works with PHP-Nuke 5.2
Of course the 'correct_path' may not contain the 'modules/guestbook'
|
|
28/01/2002 18:45:55
|
Anonymous
|
$GB_PG["base_url"] = "http://www.yourdomain.com/correct_path/"; worked great when replaced with $GB_PG["base_url"] = "http://www.yourdomain.com/guestbook/"; All of the images for the guestbook were showing properly but another snag has arose.
Whenever an image is posted when signing the guestbook the thumbnail image is displayed properly but after clicking the thumbnail image to increase the size the image is not displayed.
When doing a preview, before submitting, the image is being called from:
/php/temp/
but should be:
/guestbook/temp.
After submitting the post, the thumbnail image is showing properly, but after clicking the thumbnail image to increase the size the image is not displayed. It is being called from:
/php/public/
but should be:
/guestbook/public.
Thanks for the help thus far
|
|
29/01/2002 02:17:50
|
Anonymous
|
Since nobody can help me out here Could someone recommend another quality guestbook. I hate to ask but this one just isn't working for me.
|
|
01/02/2002 16:12:45
|
Anonymous
|
the problem occures only when using PHP as 'CGI'
After submitting the post, the thumbnail image is showing properly, but after clicking the thumbnail image to increase the size the image is not displayed. It is being called from:
/php/public/
but should be:
/guestbook/public.
can also be fixed in picture.php
|
|
02/02/2002 08:37:12
|
rude
Newbie
Joined: 28/01/2002 21:26:03
Messages: 2
Offline
|
What other way is there to run PHP? I installed PHP and configured apache to use it with the documentation that was included with PHP. If there is another way to configure apache with PHP how would the advanced guestbook distinguish the differences?
As I stated in the first post:
I'm not familiar enough with php scripting to locate a fix in the code myself.
Could you point out what changes need to be made in the pictures.php file to make it function properly?
|
|
22/07/2002 01:53:15
|
Anonymous
|
user wrote:
can also be fixed in picture.php
Can you show us how to fix it in picture.php?
|
|
02/08/2002 23:31:12
|
Anonymous
|
I don't know where the problem is?
There is a setting for the image url in the configuration file:
$GB_PG["base_url"] = "http://www.domain.com/guestbook/image";
|
|
22/11/2002 20:19:05
|
Anonymous
|
Anonymous wrote:I don't know where the problem is?
There is a setting for the image url in the configuration file:
$GB_PG["base_url"] = "http://www.domain.com/guestbook/image";
if you see on http://www.all-worx.be/modules.php?name=Guestbook and you click on the picture you will seehe will call the wrong dir. If you change $GB_PG["base_url"] the other picture are called from the wrong dir.
Can somebody help us please
Thanks
|
|
|