Options +FollowSymLinks
RewriteEngine On
AddEncoding gzip .gz
AddEncoding gzip .gzip
<FilesMatch "\.(js.gz|js.gzip)$">
ForceType text/javascript
</FilesMatch>
<FilesMatch "\.(css.gz|css.gzip)$">
ForceType text/css
</FilesMatch>
RewriteCond %{REQUEST_URI} !^/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/index\.php
RewriteCond %{REQUEST_URI} !/ow_updates/
RewriteCond %{REQUEST_URI} !/ow_cron/run\.php
RewriteCond %{REQUEST_URI} !/e500\.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
first three errors - please disable antispammer plugin, and contact plugin developer to resolve the issue.
mysql server has gone away - contact your hosting provider about that issue. something is wrong on their side.
as to this warning: home/couplesl/public_html/ow_system_plugins/base/classes/file_log_writer.php
make sure that ow_log folder has 777 permissions.
I am having a time out issue with a plugin on the new version I assumed it was the permissions issue and when I went to the file I do not see a place to change the permissions to 777. here what I see:
* Database log writer. * * @author Sardar Madumarov <madumarov@gmail.com> * @package ow_system_plugins.base.class * @since 1.0 */class BASE_CLASS_FileLogWriter extends OW_LogWriter{ /** * @var string */ private $path;
/** * Constructor. */ public function __construct( $path ) { $this->path = $path; }
/** * @param array $entries */ public function processEntries( array $entries ) { $stringToWrite = "";
foreach ( $entries as $entry ) { $date = date("D M j G:i:s Y", $entry[OW_Log::TIME_STAMP]); $stringToWrite .= "[$date] [{$entry[OW_Log::TYPE]}] [{$entry[OW_Log::KEY]}] {$entry[OW_Log::MESSAGE]}" . PHP_EOL; }
$changePerm = !file_exists($this->path); file_put_contents($this->path, $stringToWrite, FILE_APPEND);
if ( $changePerm ) { chmod($this->path, 0666); } }}
I updated my site, and now as soon as I login I'm being redirected to e500.php page, But I can still access the admin panel... , I got 3 error msgs just after the update, but don't see any error messages anywhere now. I enabled DEBUG and DEV modes. Pls help. Thanks
Kevin, if you get e500.php error, please enable debug mod, you'll get the actual errors when you refresh the website. Copy it here, so we could assist you.
you need to locate a table which has different collation rather than utf8_general_ci, open it, then click on the Structure, you will see the third row for that table named Collation you will need to change it. Click on each row Change button and choose the utf8_general_ci collation in the drop down menu then save.
Drake you need to contact your hosting provider and increase this time out limit
Raj, can you please PM me a screenshot of your config.php file? probably you have enabled debug mode in the wrong place.