If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
Does this work well? No real bugs or snafu's to speak of?

I need a script to put on five different domains, and this will be a focal point of our sites.
Same problem here...maybe this is a 15th of July-bug...

Warning: fread(): Length parameter must be greater than 0. in /home/*******/public_html/gastenboek/lib/template.class.php on line 53

I'm using the 2.3.1-version

Could anyone help pls? thank you!
I upgraded to 2.3.1 because 2.2 was hacked. Had the endless admin loop login problem, so used the 'fix' someone suggested, replacing the 2.3.1 session.class.php with the 2.2 version. Fixed the admin login. Thought all was right with the world. But somebody hacked my 2.3.1 g'book last night. I've reparied the damage and made admin.php unavailable for now until a better solution comes along.

-Jack
My poll is within a table and all the coding is not together. Could this be causing this problem?

Same problem here, since July 14.

Warning: fread(): Length parameter must be greater than 0. in /home/pwhs/public_html/forms/guestbook/lib/template.class.php on line 53

Warning: fread(): Length parameter must be greater than 0. in /home/pwhs/public_html/forms/guestbook/lib/template.class.php on line 53

Carlos
could this have something to with the problem?

Should there be something like this included somehere???

if (isset($HTTP_GET_VARS['poll_id'])) {
echo $php_poll->poll_
results]($HTTP_GET_VARS['poll_id']);
} else {
echo $php_poll->poll_
results("newest");
}
Auron wrote:it should display the correct polls results.

it only displays the newest when it can't find the others.
shown by this if statement...



- Auron


OK... My question is...

If it finds the "newest" poll, why doesn't it find the others??? They're still there, and they haven't went anywhere.

Also, can you please explain this line bit by bit and tell me what the function is...

What is isset?

I just don't understand why it will display the correct poll when you click to view a previous poll, but 'NOT' the correct results for the poll you are viewing when you click "view results", instead of being taken to the results of the newest poll. As also stated, voting is also disabled for the older polls ONCE you create a new poll. What could be causing this?

Any help will be deeply appreciated.
Hi

I want to restore the phpb1sqlfile from back up. can anyone point me to some directions on the best way to do it?
Hi,

Since tonight I have a php error message, but I don't know what it means:
Warning: fread(): Length parameter must be greater than 0.
in /home/public_html/gastenboek/lib/template.class.php on line 45

Does anybody know what it means and how to fix it?

Tnx a lot!

Bas
fuck you!
THIS SOLUTION: Overwrite the v2.3.1 session.class.php file with the 2.2 version. Worked fine for me!

Worked for me with one of my domains guestbooks, but NOT with another one at one of my other domains. There I did a fresh install, then replaced the session.class file and I'm still stuck in the loop any type I click any admin function. I'm at a loss why it worked once but not the second time.

-Jack
Never mind, fixed....
OK I was not quite right. In you templates folder/entry.php you have a line that is $URL make sure it is there. If not add it. Tested it on my site works like a charm. If not http: is posted to comments no URL will show up. Hope this helps
That resetting of the password doesn't work, but one thread suggested replacing the 2.3.1 file - session.class.php - with the 2.2 version. I did this and it worked. I thought everything was fine until...

On one of my other domains, I deleted the 2.2, installed 2.3.1 and was all set to copy the session.class.php from 2.2 over the 2.3.1 version to cure the problem, BUT now that fix doesn't work! I've tried changing the password to the default and I'm still stuck in the admin loop. I even grabbed another 2.2 copy of that file and copied it over the 2.3.1 version and still, I'm stuck in the loop. argh!

Thanks for any help,
-Jack
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum