/*************************************
Title: GBook
Version:1.5
Author:
Demo:
Download:
Website:
Short description:
*************************************/
(Here below you can write additional info, longer description and comments)
I am using version 1.5 of PHP GBook since a long time and it is working fine. There are 441 pages each page with 10 entries. I find all entries when I see in my ftp client. But in the actual web page I find only 20 pages with 200 entries instead of 441 in 41 pages. I find that all the missing etries are old entries.How to get back these missing entries.
Please help me
Thanks
Log entries missing
Hello pdurvasula,
I made a test guestbook with your number of entries and it works here.
Can you post links like it is asked when you post in the normal (not the add-ons) section? Than we can have a closer look at your specific situation.
Script URL:
Version of script: this is all we know now, version 1.5
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
Links to get the phpinfo.php and session_test.php files to upload to your server can be found here: viewtopic.php?t=83
Greetings,
Henrie
I made a test guestbook with your number of entries and it works here.
Can you post links like it is asked when you post in the normal (not the add-ons) section? Than we can have a closer look at your specific situation.
Script URL:
Version of script: this is all we know now, version 1.5
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
Links to get the phpinfo.php and session_test.php files to upload to your server can be found here: viewtopic.php?t=83
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 17
- Joined: Thu Sep 28, 2006 5:12 am
Hi Henrie
Sorry for this delay in reply.
I am afraid that my problem is not understood.
The top of the first page of the Guest Book says that there are 457 entries.
I am having 10 entries per page and the last page number is 23 ie. only 230 entries are shown and the rest are not availabel to view.
I verified from the gbook entries.txt file on the server and all the 457 entries are available there.
My point is that all the 457 entries are not available on guesbook pages.
Hope I am clear now.
Thanks
Sorry for this delay in reply.
I am afraid that my problem is not understood.
The top of the first page of the Guest Book says that there are 457 entries.
I am having 10 entries per page and the last page number is 23 ie. only 230 entries are shown and the rest are not availabel to view.
I verified from the gbook entries.txt file on the server and all the 457 entries are available there.
My point is that all the 457 entries are not available on guesbook pages.
Hope I am clear now.
Thanks
Hi pdurvasula
I have taken a look at your guestbook now (i did not notice the www link before).
Something is wrong with your gbook.php file. I think it happened when you changed the language strings inside it.
When i open http://www.telugugreetings.fotorima.com/gbook/gbook.php the first page shows 20 entries instead of 10. The following pages do show 10 postings, but the calculation of the number of pages is already done than.
My suggestion is to upload the original gbook.php file and see if that fixes the problem (i downloaded your entries.txt file and it shows 46 pages when i view it). If it shows correctly, see if you can try to locate the error in your translated version. It must be located somewhere after this code $page=gbook_isNumber($_REQUEST['page']);
You could also upgrade to the newest version of GBook (version 1.7).
It has a separate languagefile to make it more easy to translate.
All your entries will be kept (but to make sure in case of mistakes, make a backup copy first).
Greetings,
Henrie
I have taken a look at your guestbook now (i did not notice the www link before).
Something is wrong with your gbook.php file. I think it happened when you changed the language strings inside it.
When i open http://www.telugugreetings.fotorima.com/gbook/gbook.php the first page shows 20 entries instead of 10. The following pages do show 10 postings, but the calculation of the number of pages is already done than.
My suggestion is to upload the original gbook.php file and see if that fixes the problem (i downloaded your entries.txt file and it shows 46 pages when i view it). If it shows correctly, see if you can try to locate the error in your translated version. It must be located somewhere after this code $page=gbook_isNumber($_REQUEST['page']);
You could also upgrade to the newest version of GBook (version 1.7).
It has a separate languagefile to make it more easy to translate.
All your entries will be kept (but to make sure in case of mistakes, make a backup copy first).
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 17
- Joined: Thu Sep 28, 2006 5:12 am
Log entries missing
Thanks a lot Henrie
You have taken pains to sort the issue.
I think the trouble started when I tried to change the number of entries per page sometime back. Now I uploaded the backup file which I kept on the server before making that change and everything is fine now.
Regarding updating to current version, why I am hesitating is because I am afraid of messing up things. I will study the language file and do it in course of time.
Thanking you once again for your kind help
You have taken pains to sort the issue.
I think the trouble started when I tried to change the number of entries per page sometime back. Now I uploaded the backup file which I kept on the server before making that change and everything is fine now.
Regarding updating to current version, why I am hesitating is because I am afraid of messing up things. I will study the language file and do it in course of time.
Thanking you once again for your kind help