Author |
Message |
|
Maybe try what I posted :
http://proxy2.de/forum/viewtopic.php?t=1711&postdays=0&postorder=asc&highlight=session&start=15
|
 |
|
Same problem here , looks like the 'session' variable is reserved by apache2.
My nasty work around was to change all :
amp;session=
with
amp;sessionid=
as well as all :
name="session"
with
name="sessionid"
In all files in admin/
and
add a couple of lines in admin.php
...
if (!isset($PHP_SELF)) {
$PHP_SELF = $HTTP_SERVER_VARS["PHP_SELF"];
if (isset($HTTP_GET_VARS)) {
while (list($name, $value)=each($HTTP_GET_VARS)) {
$$name="$value";
}
}
if (isset($HTTP_POST_VARS)) {
while (list($name, $value)=each($HTTP_POST_VARS)) {
$$name="$value";
}
}
if (isset($HTTP_COOKIE_VARS)) {
while (list($name, $value)=each($HTTP_COOKIE_VARS)){
$$name="$value";
}
}
}
// Insert those 3 lines here
if (isset($sessionid)) {
$session = $sessionid;
}
$gb_auth = new gb_session($include_path);
$AUTH = $gb_auth->checkSessionID();
$VARS = $gb_auth->fetch_array($gb_auth->qu
...
|
 |
|
Carbonize wrote:so www.yoursite.com/guestbook%20files/ ?
The folder name is guestbook (changed the name) but http://www.vickiwillingham.com/guestbook does nothing.
I think I'm getting some help from Amber so hopefully will get it right soon.
|
 |
|
Ok so I have this poll system setup on another server, and I am trying to make it show up from another site. I think I got my path correct and the cookie in the head. I get this error though.
Fatal error: Call to a member function on a non-object in *my path*
I am not really sure what going on. Hopefully thats enough information for you. Thanks in advance.
|
 |
|
Carbonize wrote:Where did you upload the guestbook to? What is th ename of the folder it is in?
Via CoreFTP.
I uploaded to htdocs/guestbook files/ within my site directory.
|
 |
|
Carbonize wrote:Try copying the menu code into the header.php after the body tag.
Hmm...thanks it seems really clear I just seem to be having problems understand it all.
I uploaded all the files to the surver is this correct? When I change the php files in DW (it's my default PHP editor/viewer apparently) then view design it just looks a mess. Having no experience with PHP yet I don't know if this is correct or not.
Also...and this is going to seem like a really daft question...where do I find my guestbook? I have all the files of course, and was under the impression that I had to alter my HTML code to link to the guestbook in order to see it. Is this right/wrong?
Maybe I should just give in to failure and leave the guestbook idea well alone!
|
 |
|
Carbonize wrote:
Anonymous wrote:Once everythings set up properly I'll get it W3C'd!
Also the one page with the W3C valid logo on actually isn't. Anyway I hope the link I posted proves useful.
Yeah I know that too...I have to take it off. It was validated, the whole site was till I started messing about.
I'm still not sure I understand even with the help of your code. I copied the menu code into the body.php file but nothing happened. I'm sure I'm missing something really obvious.
|
 |
|
Carbonize wrote:
Anonymous wrote:Once everythings set up properly I'll get it W3C'd!
Also the one page with the W3C valid logo on actually isn't. Anyway I hope the link I posted proves useful.
Yeah I know that too...I have to take it off. It was validated, the whole site was till I started messing about.
I'm still not sure I understand even with the help of your code. I copied the menu code into the body.php file but nothing happened. I'm sure I'm missing something really obvious.
|
 |
|
Thanks, I know it's not ok with the whole cross browser compatibility right now - something I plan to work on once I know exactly what I'm doing.
Once everythings set up properly I'll get it W3C'd!
|
 |
|
amber222 wrote:
jonathanhubbard wrote:That's exactly what I want - is there an easy way of doing this? My web design skills really are at a minimum! I've had a look at the code, but can't work out what he's done...
Thanks
Carbonize's way is the easy way, because once you do it, it's done for all guestbook pages:
Include your header, by Carbonize:
http://proxy2.de/forum/viewtopic.php?t=3460
In that thread JTD mentions some samples you can download. Perhaps they are still there and you should try that.
The way the page at http://www.afrovoices.com was done is:
Make a backup copy of guestbook/index.php
Take a copy of the existing home page (or other site page) and save it as guestbook/index2.php
Leave the header, menu and footer but delete the page's other contents
Copy all the code from the original guestbook/index.php file and paste it in the guestbook/index2.php file where the deleted contents were.
View guestbook/index2.php in your browser to see if it works. If it does, rename it to guestbook/index.php.
You have to repeat the same procedure for every guestbook page you want the header, menu, footer to appear on.
That's the hard way, but perhaps less technical sounding.
Hi Amber. I tried this and all I end up with is a lot of code between the <body> tags. I must be doing something wrong.
This is the site I'm trying to work on www.vickiwillingham.com. I uploaded all the guestbook files to the surver is that the right thing to do? I haven't touched on this side of things yet and need help!
If you are able to offer your expert advice it would be appreciated.
Thank you.
|
 |
|
Yeah I did that, it still had that error.
|
 |
|
tis got to be at the very top of ur file before the html tag or before any output at all. because headers are sent first before otuput so basically u would be trying to go against the rule so it wont work.
|
 |
|
The problem I'm having is the one described in the read me file:
Appears after voting.
I've tried the solution giving in the FAQ but it doesn't work. In fact, the code it says to add:
Seems to be causing the problems. I already have:
That in my page, and adding what the FAQ says to add, does nothing. However, deleting both sections of code takes away the error. The problem then becomes that you can vote multiple times in the same poll. Does anyone have any ideas as to what may be causing this?
|
 |
|
Ok Auron
I understand. ! I try to explain.
I want to showed comments of each poll wich is random.
You can use a link that open a popup or comments can be in the same popup as "send comment" or they can be viewed under the results.
(sorry for my english)
|
 |
|
When I sign the guest book I get t an error, but it add the new guest anyway
Warning: unlink(index.html): Permission denied in /home/euro-art/public_html/guestbook/lib/add.class.php on line 80
Please mail to euro-art-gallery@planet.nl
|
 |
|