This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Recent Comments: Url Maxlength redirect problem
#1

Hye,

When the ten last comments fall on my homepage and i click on one of them, i am redirected to a shortened url. The original url was 300 charaters and it is shortened to 250 characters and I am not redirected to the comment because this is not the right url.

Example:

link, where is the comment:

Code:
http://www.businessbourse.com/videosat/videoviewbusinessbourse.php?name=http://www.youtube.com/v/_A3fEw8byBM?version=3&f=user_uploads&app=youtube_gdata&id=http://i.ytimg.com/vi/_A3fEw8byBM/default.jpg&title=Olivier%20Delamarche%20-%20%2028%20Mai%202013%20-%20BFM%20Business%2028%2005%202013

Link, where I am redirected with the recent comments mod :

Code:
http://www.businessbourse.com/videosat/videoviewbusinessbourse.php?name=http://www.youtube.com/v/_A3fEw8byBM?version=3&f=user_uploads&app=youtube_gdata&id=http://i.ytimg.com/vi/_A3fEw8byBM/default.jpg&title=Olivier%20Delamarche%20-%20


If anyone can help me?

thank you
Reply
#2

Hi,

Sorry about that. I didn't expect any URLs to be longer than 250 characters.

You'll need to increase the length of the URL column using phpMyAdmin.

1. Go to the 'pages' table.
2. Click the 'Structure' tab.
3. Select the 'url' checkbox.
4. Click the 'Change' button.
5. Enter the length (example 1000).
6. Click 'Save'.

Then, in the Commentics admin panel, go to Manage -> Pages and correct the URL for the page.
(or do it directly in phpMyAdmin)

I'll increase the length for the next version. Do you think 1000 should be okay?

Have you completed the interview?
Reply
#3

Thanks steven for your precious help,

it stays one thing to modify, it's the file " edit_page.php " in comments/includes/pages. We had to change maxlength="250" to 1000 for example to be able to modify in the Commentics admin panel" Manage page" the old url by the correct URL for the page.

Have a nice day Steven.

Best regards.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
13-Aug-2021, 08:01 AM
Last Post by The_Phantom
29-Jul-2021, 12:14 PM
Last Post by Steven
23-Nov-2017, 08:09 PM
Last Post by 2hands
18-Nov-2017, 11:21 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)