|
|||||||
![]() |
Forum Index > glFusion > glFusion Add-on, Plugin Support |
|
|
Static Page Length
|
|||
| | | Printable Version |
|
Anonymous: Jack | ||||||||
|
Hi, |
|
||||||||
|
|||||||||
|
Mark | ||||||||
|
You'll need to modify the database table for static pages. Currently the sp_content field is type TEXT which allows 64K of data. You probably want to change this to MEDIUMTEXT which will give you 16M of data. PHP Formatted Code ALTER TABLE gl_staticpage CHANGE sp_content sp_content MEDIUMTEXT;
glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
Anonymous: Jack | ||||||||
|
A little PHP script might be easiest - I looked around the Phpmyadmin but I am lost. |
|
||||||||
|
|||||||||
|
Mark | ||||||||
|
No problelm, save the code below in your public_html/ directory (same directory with siteconfig.php). Be sure you are already logged into your site as a root user and then run: PHP Formatted Code <?php require_once 'lib-common.php'; if (!SEC_inGroup('Root')) { // Someone is trying to illegally access this page COM_errorLog("Someone has tried to illegally access the sp_expand page. User id: {$_USER['uid']}, Username: {$_USER['username']}, IP: $REMOTE_ADDR",1); $display = COM_siteHeader ('menu', $LANG_ACCESS['accessdenied']) . COM_startBlock ($LANG_ACCESS['accessdenied']) . $LANG_ACCESS['plugin_access_denied_msg'] . COM_endBlock () . COM_siteFooter (); echo $display; exit; } DB_query("ALTER TABLE {$_TABLES['staticpage']} CHANGE sp_content sp_content MEDIUMTEXT;"); echo COM_siteHeader(); echo 'Static Pages has been expanded to allow 16M per page.'; echo COM_siteFooter(); ?>
glFusion - Enhanced Content Management |
![]() Admin Group Comfort Level:: +104 ![]() ![]()
Registered: 10/21/05 |
||||||||
|
|||||||||
|
Anonymous: Jack | ||||||||
|
LIKE MAGIC! |
|
||||||||
|
|||||||||
|
| All times are CDT. The time is now 08:04 pm. |
|
|