After Changing All The Descriptions To 500, still no change

Problems installing LinkMan?
Post Reply
weezee
Posts: 6
Joined: Wed Oct 12, 2011 4:13 pm

After Changing All The Descriptions To 500, still no change

Post by weezee »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
I change the description to 350 char, no change, then 500 char, still not change. I change it in admin.php, links.php, form.html, and addlink.php. index.php is now a redirect, I couldn't change it there. Is there somewhere else I missed to make it work.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: After Changing All The Descriptions To 500, still no cha

Post by Klemen »

Not sure what you changes and what not, but you obviously missed something. In addlink.php check if you have

Code: Select all

if (strlen($description)>500)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
weezee
Posts: 6
Joined: Wed Oct 12, 2011 4:13 pm

Re: After Changing All The Descriptions To 500, still no cha

Post by weezee »

if (strlen($description)>500)

I change this in addlink.php



This in form.html
<p><b>Website description:</b><br>
<input type="text" name="description" maxlength="500" size="60"></p>

This in admin.php
<td class="sec"><b>Website description:<b></td>
<td class="sec"><input type="text" name="site_desc" maxlength="500" size="50" value="<?php echo $settings['site_desc']; ?>"></td>
</tr>


This in link.php
<p><b>Website description:</b><br>
<input type="text" name="description" maxlength="500" size="60"></p>


i'still getting this error when I try to add links in admin: An error occured:

Description is too long! Description of your website is limited to 200 chars!

Thats why I wanted to know if there was some where else I missed changing.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: After Changing All The Descriptions To 500, still no cha

Post by Klemen »

You need to modify the same code in admin.php as well:

Code: Select all

if (strlen($description)>200)
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply