SimplePortal

Support => English Support => Topic started by: Xadro on September 20, 2009, 08:26:32 AM

Title: Page Limit
Post by: Xadro on September 20, 2009, 08:26:32 AM
So as the subject already said, there seems to be a limit on how many characters you can add to a custom page.

Its quite annoying because it cut off somewhere in the middle of a HTML page i had made, making the page look horrible.

Is there anyway i can fix this annoying problem?

Im using Simpleportal 2.3 with SMF 2.0 RC1

- Xadro
Title: Re: Page Limit
Post by: Eliana Tamerin on September 20, 2009, 10:03:17 AM
Yes, you can. It seems that SP uses the TEXT type for the body of pages, which restricts you to about 65,000 characters. You can change this, however.

You can use phpMyAdmin, go to your database and open the {prefix}sp_pages table. It should look something like this:
(http://img.photobucket.com/albums/v380/tamerin/SPpagesdbtable.png)

Now, click on the edit (the pencil) button next to the body value, which should take you to a page like this:
(http://img.photobucket.com/albums/v380/tamerin/SPpageseditbody.png)

Now you can change the type from TEXT to MEDIUMTEXT (which can store about 16 million characters) or LONGTEXT (which can store over 4 billion characters).

Save and enjoy!
Title: Re: Page Limit
Post by: Xadro on September 20, 2009, 10:24:14 AM
I tried it, and it works. Thanks for the quick help!  8)

- Xadro
Title: Re: Page Limit
Post by: gameballa on January 09, 2011, 08:37:53 PM
thank you.. I been banging my head for the last 3 hours trying to fix my HTML it was because of this stupid ass page limit that was causing all the TROUBLE!!
SimplePortal 2.3.8 © 2008-2024, SimplePortal