!! I created a custom module and when I inserted it into the layout, the site died.
|
This only happens with Bitweaver version 1.3.x and below. The problems are syntax errors when saving a custom module. The data submitted goes to the database table ''tiki_user_modules'', column ''data''. The data of the culprit module has to be edited/removed manually.
|
|
-!! Cannot upload files larger than 8MB
|
-This is caused by your php.ini configuration. To get it to accept files larger than that php.ini must be configured. The upload_max_filesize, memory_limit, and post_max_size variables should be equal, at minimum, to the size of the file you'd like to upload. The memory_limit may need to be set even larger than the size of your file.
|
-
|
-!! How to get UTF-8 and MySQL to work right
|
-To a certain degree, it depends on your server setup if non-ASCII characters are displayed correctly. If they are not, try to add the following fix in /util/adodb/drivers/adodb-mysql.inc.php around line 366 or 373 (it depends on the version of that file), so that the function ___connect__ looks like the blueprint below. If this does not help, try ((MySQL encoding issues)) for more information.
|
-
|
-{code source=php title="/util/adodb/drivers/adodb-mysql.inc.php"}
|
-function _connect($argHostname, $argUsername, $argPassword, $argDatabasename)
|
- {
|
-
|
- // ... some stuff ...
|
-
|
- if ($this->_connectionID === false) return false;
|
- //-----------------------------------------------------
|
- //THE FOLLOWING LINE IS THE ONE TO ADD:
|
- if (mysql_query("SET NAMES 'UTF8'") === false) return false;
|
- //-----------------------------------------------------
|
- if ($argDatabasename) return $this->SelectDB($argDatabasename);
|
- return true;
|
- }
|
-{/code}
|
+!! Cannot upload files larger than 8 Megabytes |
+This is caused by your php.ini configuration. To get PHP to accept files larger than that, php.ini must be configured. The -+upload_max_filesize+-, -+memory_limit+-, and -+post_max_size+- variables should be equal, at minimum, to the size of the file you'd like to upload. The -+memory_limit+- may need to be set even larger than the size of your file. |
|
+!! How to get non-English characters display correctly (UTF-8) |
+To a certain degree, it depends on your server setup if "special" characters are displayed correctly. If they are not, and you're using MySQL, try the page __((MySQL and character encoding))__ for more information. |
|
---
|
|