PDA

View Full Version : Bug Reports/Improvements for 3.04


SPD
04-26-2006, 07:02 PM
Hi Boby,

After installation phpld 3.04 I have found out following bugs:

1) RSS on all pages displays only title, link and description of my directory.

2) In one of my subcategories of 11 links.
If into text box " Paging: Maximum per page " I enter 10, the first page will have 10 links, the second page will be empty.
If into text box I enter 8, the first page will have 8 links, the second will have 2 links.

1 link is absent!

***
Page 2.htm
***
Items 9-11 out of 11 displayed.
First Previous 1 [2] LastTotal records: 11
***

3) SEO

sitename.com/subcategory/ and sitename.com/subcategory/page-1.html - identical pages, is badly for SEO.

Was more best to use:
sitename.com/subcategory/
sitename.com/subcategory/page-2/

Or

sitename.com/subcategory.html
sitename.com/subcategory-2.html

Thanks,
CSP

Boby
04-26-2006, 07:08 PM
Hello!

Thanks for the report, bookmarked the thread and will start with this for the next release fixes ;)

Well, for 3. and 4. ... I don't know, most of the users have a high PR and I don't think they would change their links :?:

We could make this on a later point as option so each can select what URL rewrite method he want's to use.

Boby

gbaughan
04-26-2006, 11:07 PM
I agree with boby on the modrewrite..
can this be fixed in a 3.? version as im a new starter and would like this before i set up a directory if possible

SPD
04-27-2006, 11:49 PM
Hi Boby,

In 3.04 version my links began to have right structure.
Not correct links are deleted. It is very good!
Thanks very much!
But the Google does indexing some links with sessions.
If it is old links, your code them has not deleted.

Thanks,
SPD

SPD
04-29-2006, 02:24 PM
1) I have checked up in new 3.04 version, of session in links are absent!!!
For deleting old links with sessions from the previous version, such as:

/?PHPSESSID=xxxxx
profile.php?mode=register&agreed=true&PHPSESSID=xxxxx
rss.php?p=d&PHPSESSID=xxxxx

I have added to init.php before session_start (); a following code:

$request_uri = $_SERVER['REQUEST_URI'];
if ( strstr($request_uri, "PHPSESSID")) {
Header( "HTTP/1.1 404 Not Found" );
exit();
}

2) In settings.php, I recommend to add:

@ini_set('arg_separator.input', '&');

If in php.ini or htaccess arg_separator.input has not a default value ('&') then there will be problems with links.