Hey,
I am running WAMP 2.0 server from home http://princemgeorge.myvnc.com/
Not to long ago i added a PHP Message Board from http://www.phpjunkyard.com/php-message-board.php everything works fine but when one create the message and enter, the message doesn't post. you can try it http://princemgeorge.myvnc.com/mboard
I was told by the Author of the Script that the problem was with my "your PHP sessions on general don't work. It's a PHP configuration issue. Make sure your PHP sessions work, I'm afraid I can't help you get those working." http://developers.phpjunkyard.com/vi...er=asc&start=0
also the PHP script Message board worked on the localhost, it was posting the massage. But after i port forward to make it online it doesn't post.
Please help
Thank you
PHP message board on WAMP server not posting
Moderator: General Moderators
-
kinggeorge3287
- Forum Newbie
- Posts: 6
- Joined: Thu Apr 02, 2009 9:07 pm
-
kinggeorge3287
- Forum Newbie
- Posts: 6
- Joined: Thu Apr 02, 2009 9:07 pm
Re: PHP message board on WAMP server not posting
hey,McInfo wrote:Go to http://localhost/ and click on the phpinfo() link. Search the page for "Session" and make sure Session Support is enabled.
Yes session support is enabled
thank you for the fast reply
Session Support enabled
Registered save handlers files user
Registered serializer handlers php php_binary wddx
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 Off Off
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 1000 1000
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 5 5
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path c:/wamp/tmp c:/wamp/tmp
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0
-
kinggeorge3287
- Forum Newbie
- Posts: 6
- Joined: Thu Apr 02, 2009 9:07 pm
Re: PHP message board on WAMP server not posting
Hey there,McInfo wrote:Your settings appear to be identical to the settings on my development server...
Try running this script on your server:If that works, there is something wrong with the message board script you downloaded, not your sessions.Code: Select all
<?php session_start(); if (!isset($_SESSION['test'])) { $_SESSION['test'] = 'Your sessions work.'; echo 'Refresh this page. If you see this same message, your sessions do not work.'; } else { echo $_SESSION['test']; } ?>
this is the link, it seems that the sessions work. i dont think there is anything wrong with the script, because it worked on my local server before i port forward it. http://princemgeorge.myvnc.com/test2.php
Thank you for the help
-
kinggeorge3287
- Forum Newbie
- Posts: 6
- Joined: Thu Apr 02, 2009 9:07 pm
Re: PHP message board on WAMP server not posting
[quote="McInfo"]Whenever I click on one of your links, I get a frames page that tries to redirect me to your server, but then I get a network timeout. I don't think your server is accessible outside of your local network.[/quot
It was working. Question? DO you live in the United States or outside?
http://princemgeorge.myvnc.com/
http://princemgeorge.myvnc.com/mboard
http://princemgeorge.myvnc.com/test2.php
It was working. Question? DO you live in the United States or outside?
http://princemgeorge.myvnc.com/
http://princemgeorge.myvnc.com/mboard
http://princemgeorge.myvnc.com/test2.php
-
kinggeorge3287
- Forum Newbie
- Posts: 6
- Joined: Thu Apr 02, 2009 9:07 pm
Re: PHP message board on WAMP server not posting
are you able to go into my Website?McInfo wrote:I am in the U.S.
-
kinggeorge3287
- Forum Newbie
- Posts: 6
- Joined: Thu Apr 02, 2009 9:07 pm
Re: PHP message board on WAMP server not posting
hey,McInfo wrote:No. Like I said, I get a network timeout.
It might not be an issue, but you are using port 4444. (71.167.34.4:4444) It seems to me that you should be using port 80 or 8080. I could be wrong.
Also, for security reasons, you probably should not be running a WAMP server on the Internet with the default php.ini.
Thank you for the reply. the computer was turned off at around the time u posted. i am using port 4444 because its a port forward. my isp block port 80. http://princemgeorge.myvnc.com/