Page 1 of 1

gbook on localhost

Posted: Fri Mar 21, 2014 3:03 pm
by d1lemma
Script URL: http://localhost:8888/<mysite>/resource ... /gbook.php
Version of script: 7.1
Hosting company: n/a
URL of phpinfo.php: n/a
URL of session_test.php: n/a
What terms did you try when SEARCHING for a solution: localhost, initial setup, installation, testing

Write your message below:

I wish to use gbook as a landing page without a CMS control panel on my localhost. Using MAMP and python server, prefer MAMP at this stage. Changed the file/folder permissions as instructed.

Navigation to localhost:8888/<mysite>/gbook produces a fixme: 'ERROR: Invalid IP address, access blocked!'

My edited settings.php file:

/* Password for admin area */
$settings['apass']='admin';

/* Website title */
$settings['website_title']="Your Web site";

/* Website URL */
$settings['website_url']='http://localhost:8888';

/* Guestbook title */
$settings['gbook_title']="My Web site Guestbook";

/* Your e-mail address. */
$settings['admin_email']='me@domain.com';

/* URL of the gbook.php file. */
$settings['gbook_url']='http://localhost:8888/<mysite>/resource ... /gbook.php';

[...]

Re: gbook on localhost

Posted: Fri Mar 21, 2014 3:35 pm
by Klemen
This could be because your local IP is in IPv6 format.

Try changing

Code: Select all

$settings['allow_IPv6']=0;
to

Code: Select all

$settings['allow_IPv6']=1;
and see if that helps.