Scroll

Welcome to our LiveChat! Please press "Start Chat" button to proceed

Start Chat

Typical errors while installing and working with Flash MotoCMS

Section 1: Before the control panel starts
The page is blank or you see a “Server encountered internal error”
“Unable to read 2680 bytes” or “Please re-upload files in binary mode”
“Error while checking admin/gateway.php message
“SAFE MODE Restriction in effect”
"Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Optimizer expects a 2"
"Warning: DOMDocument::load() [domdocument.load]:"
"Files were corrupted. Please upload files again in binary mode" error or "This is a technical file included in your template package for security reasons."
“SERVERTEST_FILE_IOERROR”

Section 2: During the control panel startup
“Error while saving configuration” or “Error while saving path configuration”
“Error while loading structure”, “Error while loading fonts” or “Error while loading content”
Error "Folder *** not writable. Please check permissions on this folder"
Warning: mkdir() [function.mkdir]: Permission denied in ....../admin/libs/Moto/MotoCache.php on line 0

Section 3: While working with the control panel
Error 500 or Error #2038 while uploading files to the Media Library
“File size too big” error while uploading media (images, fonts, videos etc.)
Website menus never save after editing or mess up the order
"Error while saving data"
“Error while loading language data” when trying to edit any module (player, gallery etc.)
Bold or italic system font doesn't work
Error creating sitemap
"Error while updating media data" appeared after file upload

Section 4: Website issues
Site doesn't pass Google Webmaster Tools verification or is not shown after meta tag insertion
Strange symbols appear on website after insertion Google Analytics code
Search engines never index pages of the site
Strange symbols ("/>) appear on the website
Music Player is not playing all of the tracks from the list
Site's loading hangs at 95%

Attachment #1. Setting FTP software to Binary Transfer Mode

Attachment #2. Correct files and folders permissions

 

Section 1: Before the control panel starts

If run into any problem before you can even see the control panel loading the interface, please check this page to find a solution. Typical symptoms are described here together with probable ways of correction.

 

The page is blank or you see a “Server encountered internal error” message

1. Upload your files again checking your FTP file transfer software to be set to upload files in binary mode. You can find instructions on setting the binary mode in different FTP apps in the attachment #1.

2. Check if there is a .htaccess file in your site's root folder or some levels higher in folder tree. If there is one, rename it (eg. ~htaccess) and try load the site again.

3. Check if the admin/logs/ folder has permissions set to drwxrwxr-x (CHMOD 775) and other files and folders permissions are set as mentioned in attachment #2.

4. Some servers don't allow running the PHP files with random permissions. The only allowed set of permissions is 755, so please open your FTP browser and change the permissions of all files with .php extension to -rwxr-xr-x (CHMOD 755) (these files can be found in the following folders: root folder, admin/, admin/actions/, admin/config/, admin/libs/)

5. Navigate to the admin/logs/ folder and open the moto.log or php_error.log files. If you see any error records there, try finding the description of the error on this page and taking the appropriate actions.

6. Check if your server has PHP 5.3.23+, 5.4.04+ 5.5.09+, 5.6+ with Zend Guard Loader

7. Check if there is Zend OPCode Cache enabled on your server (you can do this in http://yourdomain.com/admin/actions/php_info.php file. If yes, please contact your hosting provider asking them to disable this extension.

8. In case the page is blank, please download index.php file from the template root directory (where /admin, /fla, /fonts, /images folders are located) to your computer, open it using text editor (Notepad, WordPad etc.) and add the following lines in the beginning of this file:
error_reporting( -1 );
ini_set("display_errors", 1);
then save changes done to this file and upload it back overwriting the existing file.

9. If none of the above actions help, please submit a ticket describing your problem at http://support.motocms.com/

 

“Unable to read 2680 bytes” or “Please re-upload files in binary mode”

Upload your files again checking your FTP file transfer software to be set to upload files in binary mode. You can find instructions on setting the binary mode in different FTP apps in the attachment #1.

 

“Error while checking admin/gateway.php” message

1. Try re-uploading your template files using Binary Transfer Mode as shown in attachment #1.

2. Check if the /logs subfolder under your site's /admin folder has its permissions set to drwxrwxr-x (CHMOD 775)

3. Some servers don't allow running the PHP files with random permissions. The only allowed set of permissions is 755, so please open your FTP browser and change the permissions of all files with .php extension to -rwxr-xr-x (CHMOD 755) (these files can be found in the following folders: root folder, admin/, admin/actions/, admin/config/, admin/libs/)

4. Check the logs for further clues ( /error_logs, /admin/logs/php_error.log, /admin/logs)

5. Try to remove the admin/actions/precheck.php file because it can work incorrectly if the domain name has not propagated properly yet.

6. If none of the above actions help, please submit a ticket describing your problem at http://support.motocms.com/

 

“SAFE MODE Restriction in effect” message

1. Please create a .htaccess file with the following contents in your site's root directory or add these lines to your existing .htaccess file:
SecFilterEngine Off
SecFilterScanPOST Off

2. Please create a php.ini file (or php5.ini) and add the following line to it:
safe_mode = off

3. If the above actions didn't help, please submit a ticket describing your problem at http://support.motocms.com/

 

"Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Optimizer expects a 2" message

This error message means that the wrong Zend Optimizer version is installed on your server.

Our CMS requires PHP 5.3.23+, 5.4.04+ 5.5.09+, 5.6+ with Zend Guard Loader to work correctly. In most cases, this error message is caused by Zend Optimizer 3.2.x being installed on the server.

Unfortunately, we are not able to switch the Zend Optimizer version most of the time so you should contact your hosting provider with this request.

 

"Warning: DOMDocument::load() [domdocument.load]:"

Your server has «--disable-dom» option enabled. This doesn't allow MotoCMS to get access to DOM extension on your server. Please, contact your hosting provider asking them to enable PHP DOM extension on your server.

 

"Files were corrupted. Please upload files again in binary mode" error or "This is a technical file included in your template package for security reasons."

1. These errors in most cases mean that re-uploading your template files again in binary mode (please see attachment #1) is required.

2. The reason also can be that your server has Zend Optimizer 3.2 installed while Flash MotoCMS requires PHP 5.3.23+, 5.4.04+ 5.5.09+, 5.6+ with Zend Guard Loader to run. You can check the version of Zend Optimizer installed on the server by checking your http://yoursitename.com/admin/actions/php_info.php file. Please contact your hosting provider asking them to switch your server to PHP 5.3.23+, 5.4.04+ 5.5.09+, 5.6+ with Zend Guard Loader.

3. If the above action didn't help, please submit a ticket describing your problem at http://support.motocms.com/

 

“SERVERTEST_FILE_IOERROR” error

1. Seems like you're missing some of the required files. Please upload your files again and be sure to do it in the binary transfer mode (see “Setting binary transfer mode” for further info)

2. If none of the above actions help, please submit a ticket describing your problem.

 

Section 2: During the control panel startup

So you've got your control panel running, you see a dotted background with a window on the center and it's showing you the loading state. Suddenly loading stops and you've faced with an error message! Or you've completed the control panel setup and suddenly you see an error report. In this section you will find how to fix most common errors that happen during this stage.

 

You see an “Error while saving configuration” or “Error while saving path configuration” message

1. You may need to re-upload your /admin/ folder using the binary transfer mode. Please refer to attachment #1.

2. Ensure that the file admin/gateway.php has the permissions set to 755 (-rwxr-xr-x). Set files and folders permissions following the attachment #2.

3. Please see log files in admin/logs/ for error descriptions and try finding the corresponding error messages here or on similar pages.

4. Check if your server has sessions directory. Please, open your http://sitename.com/admin/actions/php_info.php file in web browser, press CTRL+F keys combination on your keyboard to show search box, insert to this search box following text: session.save_path
Check if the directory mentioned as session.save_path has 777 permissions. If there's no sessions directory set up, please contact your hosting provider asking them to do this for you (set up session.save_path directory's permissions to 777).

5. If none of the above actions help, please submit a ticket describing your problem.

 

“Error while loading structure”, “Error while loading fonts” or “Error while loading content” message

1. Please upload your files again checking your FTP file transfer software to be set up to upload files in the binary mode following directions in attachment #1.

2. Please see your log files in the admin/logs/ for error descriptions and try finding the corresponding error messages here or on similar pages.

3. If none of the above actions help, please submit a ticket describing your problem.

 

Error "Folder *** not writable. Please check permissions on this folder"

1. Please, set permissions for the mentioned folder or file following directions from attachment #2.

2. In case directions from attachment #2 didn't help, please try settings permissions to '777' for the mentioned folder or file.

3. Try to re-upload the mentioned folder or file to your server checking your FTP software to be set to Binary mode.

4. In case you're trying to install the template to Windows hosting and permissions issue occurred, please change permissions using your hosting control panel or ask your hosting provider to do this because Windows servers do not allow changing files and folders permissions via FTP.

 

Warning: mkdir() [function.mkdir]: Permission denied in ....../admin/libs/Moto/MotoCache.php on line 0

Looks like, some files and folders are missing from the server. Please upload the admin/ folder again checking the FTP software to be set in Binary mode as shown in attachment #1.

 

Section 3: While working with the control panel

Sometimes you can encounter an error while working with your control panel. It may be an error window, like CMS refusing to do something or doing something wrong. In this case, please check this section for possible solutions.

 

Error 500 or Error #2038 while uploading files to the Media Library

There are several possible solutions for this problem:

1. Please, check your files and folders permissions are set as in the attachment #2.

2. Please create (using the NotePad) a .htaccess file  with the following lines:
<IfModule mod_security.c>
<Files *.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>
Save changes done to this file and upload this file to /admin/actions/ folder.

3. Please make sure, that the /admin folder is uploaded in binary mode as mentioned in attachment #1.

4. Please make sure that the cookies are enabled in your browser.

5. If none of the above actions help, please submit a ticket describing your problem.

 

“File size too big” error while uploading media (images, fonts, videos etc.)

Seems like your hosting provider doesn't allow uploading big files. Please contact your hosting provider asking them to increase the upload file size for you. However you can try creating a php.ini (or php5.ini) file with the following contents and uploading it to the admin/actions/ folder:
upload_max_filesize = 128M
post_max_size = 128M
memory_limit = 256M

 

Website menus never save after editing or mess up the order.

1. Please check if your file's and folder's permissions are correct following the attachment #2.

2. If none of the above actions help, please submit a ticket describing your problem.

 

"Error while saving data"

1. If you get an 'Error while saving data' when trying to save your changes, then make sure you set the correct permissions under the /xml folder. You should set the '775' file permissions to all of the folders and 664 for files that are inside of the /xml folder following this video tutorial on setting permissions to files and folders via FTP.

2. If none of the above actions help, please submit a ticket describing your problem.

 

“Error while loading language data” when trying to edit any module (player, gallery etc.)

1. It's possible that the modules simply can't gain access to the Zend Optimizer (Loader) module you've installed. In this case you should copy your php.ini (or php5.ini) file to all module directories (admin/modules/each folder).

2. If none of the above actions help, please submit a ticket describing your problem.

 

Bold or italic system font doesn't work

Such case is possible if you've uploaded a converted font with the same name as system one (eg. Arial). Deleting this custom font should fix the issue.

 

Error creating sitemap

Try to create and upload an empty sitemap.xml file to the root folder of your site and set the permissions for this file to '777'. This should help.

 

"Error while updating media data" appeared after file upload

The problem is with your admin/xml/assets.xml file that cannot be updated. In order to fix it, please, set the permissions for this file (and all xml files in general) to '664'. 

 

Section 4: Website issues

Possibly, you will encounter some problem or error with your website itself . In this case, please check this section for possible solutions.

 

Site doesn't pass Google Webmaster Tools verification or is not shown after meta tag insertion

The most probable cause of this error is that you've entered incorrect data to your 'metatag' field. You should only enter the provided code (eg. I176DUT8H8qtO8dJIF4G8rn3T8yRKvsFosRMbh5kDWg), not the full tag contents.

 

Strange symbols appear on website after insertion Google Analytics code

Seems like you've inserted full script to the Google Analytics field, whereas MotoCMS required insertion of code only (for example, UA-xxxxxxx).

 

Search engines never index pages of the site

1. Please check if direct links do work correctly on your server. You can do this by inserting your website location and page URL you've set up in page settings (it will look like http://yourwebsitename.com/home). If the page loads, that means direct links work correctly.

2. Verify your site with Google Webmaster Tools.

3. Enter keywords and descriptions for all your pages.

4. Check if there are other sites linking to your site.

5. Please refer to our SEO tutorial for more information.

 

Strange symbols ("/>) appear on the website

The most possible cause of this error is that you've entered the incorrect data to your Google Analytics id field (MotoCMS Control Panel > Website Preferences > SEO&Analytics > Google Analytics > Tracking Code). You should only enter the provided identifier (something like UA-xxxxxxx), not full script contents:

WRONG:

<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1345203-1']);
  _gaq.push(['_setDomainName', '.yourdomain.com']);
  _gaq.push(['_trackPageview']);
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>

CORRECT:

UA-1345203-1

Another possible case could be that you are entering the full value of Google Webmasters Tools tracking script instead of the id only (MotoCMS Control Panel > Website Preferences > SEO&Analytics > Google Webmaster Tools > Meta Tag).

WRONG:

<meta name="google-site-verification" content="EfQW9VJ4xfgh7Tf-PdqzgccmflExVEDjzEJzvmnQ" />

CORRECT:

EfQW9VJ4xfgh7Tf-PdqzgccmflExVEDjzEJzvmnQ

 

Music Player is not playing all of the tracks from the list

Please make sure your mp3 files are not too big, because it takes time to preload each mp3 file. You should modify your files to make them smaller, or in the Media Library in your Control Panel you can set your mp3 file to be preloaded while the website is loading.

Please, note! Enabling Preloading items will speed down your website loading.

Please also make sure that you have the following settings in the Music Player module:

player.PNG

 

My site's loading hangs at 95%, what should I do?

1. Possibly, your server compresses the .swf files. It's needed to disable compression. It can be done by adding this line to .htaccess file in template's root folder (where /admin, /fla, /fonts, /images folders are located):
RewriteRule \.swf - [E=no-gzip:1]

2. It is possible that some of the files you've added to Media Library are not being pre loaded correctly. Try selecting all of the items in your Media Library and disable pre loading for them.

3. If none of the above actions help, please submit a ticket describing your problem.

 

Attachment #1. Setting your FTP software to Binary Transfer Mode

FileZilla (Free, supported by: Windows, Mac OS и Linux; http://filezilla-project.org/).

filezilla.jpg

 

WinSCP
winscp.jpg

 

Cyberduck (Free, supported by: Mac OS, http://cyberduck.ch/)cyberduck.jpg

FTP Commander
ftp-commander.jpg

 

Attachment #2. Correct files and folders permissions

You may see this video tutorial on setting permissions to files and folders.

Permissions for the following folders should be set to 775 (drwxrwxr-x):

/xml/
/xml/modules/
/admin/data/
/admin/logs/
/admin/xml/
/admin/_tmp/
/admin/_tmp/backup/
/admin/_tmp/cache/
/fonts/
/images/
/images/_preview/
/images/mobile/_preview/
/media/
/music/
/video/
/admin/actions/backup/_backups/
/m/xml
/m/xml/modules/
/m/images/
/m/fonts/
/m/admin/logs/
/m/admin/xml/
/m/admin/_tmp/
/m/admin/_tmp/backup/
/m/admin/_tmp/cache/

Following files should have permissions set to 664 (-rw-rw-r--):

/xml/~all files
/config.xml
/admin/config.xml
/admin/data/users.xml
/admin/xml/~all files
/admin/_tmp/~all files
/m/config.xml
/m/xml/~all files
/m/xml/modules/~all files
/m/admin/_tmp/~all files
/m/admin/xml/~all files
/m/admin/config.xml

Also, following files should have permissions set to 755 (-rwxr-xr-x):

/admin/actions/upload_media.php
/admin/actions/upload_fonts.php
/admin/gateway.php
/m/admin/actions/upload_media.php
/m/admin/gateway.php

The rest of the files should have the permissions set to 644 (-rw-r--r--).
The rest of the folders should have the permissions set to 755 (drwxr-xr-)

Have more questions? Submit a request

Comments