Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Advanced Guestbook for Osc


elari

Recommended Posts

  • 1 month later...
  • Replies 57
  • Created
  • Last Reply

Top Posters In This Topic

Sorry but I still think it has something to do with this variable $GB_PG["base_url"]

Because I still get this http://includes/languages/english/images/signing.gif

It should be http://www.puresoap.com/includes/languages...ges/signing.gif

Right?

The other images are looking for this http://img/icq.gif

Doesn't the base url have something to do with this? If I change every place where this base url is would that fix this?

In /includes/gbook.php line 68, I've changed

 

$GB_PG["base_url"] = dirname($HTTP_SERVER_VARS["PATH_INFO"]);

to

$GB_PG["base_url"] = HTTP_SERVER . DIR_WS_HTTP_CATALOG;

and I moved signing.gif to the /img folder and then it seems to work. I noticed the original line of code above worked ok on a local server but not when uploaded to our 1&1 server.

Link to comment
Share on other sites

  • 11 months later...

Hi.

I try install guestbook in my catalog and have one problem. I cannot login in admin section.

I have update login and password in database and try login. Login proccess succesfuly, but if i click to any menu item then redirect me to login page again.

Anybody can help me?

Edited by coyotle
Link to comment
Share on other sites

  • 1 month later...
Hi.

I try install guestbook in my catalog and have one problem. I cannot login in admin section.

I have update login and password in database and try login. Login proccess succesfuly, but if i click to any menu item then redirect me to login page again.

Anybody can help me?

 

 

Same here can anyone help us?????

Link to comment
Share on other sites

  • 5 months later...
quick hack:

 

look in comment.class.php

 

at line 176

 

replace

header("Location: $GB_PG[gbook]");

with

?>
<meta http-equiv="refresh" content="0;URL=<?php echo $GB_PG[gbook] ?>">
<?php

that should do it.

but what bothers me is if a customer is loged in, if he adds a comment, he will be automatically logged out...

hmm

 

 

Would anyone solve out the automatically logged out problem? Since I have the same problem. Thanks for your help.

Link to comment
Share on other sites

  • 9 months later...
updated to work with osc language

 

download here

http://www.unlockgsm.com/dload-osc/pafiledb.php

 

not 100% ok some fixe still needed

 

 

demo

http://www.unlockgsm.com/test_checkout/cat...log/default.php

 

Where can I see your guestbook in action. The above link does not take me to a guestbook.

Thank you in advance!

 

Larry from Los Angeles, California, USA

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...