Layouts Seem To Be Missing After Moving Site

We recently moved our site to a new server and are having a problem with a special deals page to which we periodically add discounted products. We added or removed products by going to the layout tab of the page, which presented a list. In trying to perform this action for the first time since our site was moved we found that the layout tab is now completely blank. Going to the design menu I can see two layouts saved for the site, one of them for the specials page but the content is not correct. When the specials page is accessed from the user side the correct products are displayed even though something is obviously broken. As far as I know, the only thing not right out of the box is that a few graphics have been plugged in. Any help or insights appreciated.

layout tab is now completely blank
Probably there is some fatal error on this page. I would recommend first to check error_log.

Did you remove the var/cache directory after the store was transferred?

Did you remove the var/cache directory after the store was transferred?

I didn't do the transfer, hosting company did. I don't know whether or not they did but probably so. I'll run it by them. The transfer was the only recent change to the site.

> layout tab is now completely blank
Probably there is some fatal error on this page. I would recommend first to check error_log.

Thanks for reply. I'll check it. By fatal error you mean something that aborts PHP before anything is written to the page?

I didn't do the transfer, hosting company did. I don't know whether or not they did but probably so. I'll run it by them. The transfer was the only recent change to the site.

Please keep us updated

Please keep us updated

Thanks for reply. The directory is present now and I did not remove an earlier version nor create the present one. I am waiting to hear from hosting support to see if they did remove it, but unless this directory would be created by CS-Cart automatically if it did not exist then it's apparent that the directory was not removed.

Should we have removed the var/cache directory? What could be corrupted or missing to give us blank layout tabs on content pages?

Should we have removed the var/cache directory? What could be corrupted or missing to give us blank layout tabs on content pages?

Old paths to files can be cached. It can be the reason. Therefore we ask you to remove the var/cache directory. It will be created by CS-Cart then. Where can I see the blank layout?

Old paths to files can be cached. It can be the reason. Therefore we ask you to remove the var/cache directory. It will be created by CS-Cart then. Where can I see the blank layout?

It seems like all the content -> pages have blank layout tabs. The one we are trying to work with is "Hot Deals." I will remove the directory now unless you want to take a look before I do so.

BTW, the Hot Deals page is linked from the Hot Deals banner on the home page. The page displays correctly in a browser but in the back end the layout tab is blank so we can't add/subtract from this page as usual.

I have renamed the var/cache folder to var/cache-old.

Renaming the var/cache folder definitely breaks things and the home page displays an old banner linked to an old sale page. Formatting is crazy on this page. On other site pages the logo is not displaying correctly but page retains mostly correct formatting.

From the back end the layouts tab is still blank even with the renamed cache directory.

If you PM me temporary FTP access, we can try to find a reason of the issues

Thanks for reply. I'll check it. By fatal error you mean something that aborts PHP before anything is written to the page?

Yes, exactly.

If you PM me temporary FTP access, we can try to find a reason of the issues

I am using chrome and after poking around the backend a bit I now get a theme editor side pane every time I access the front end. It will not let me close it. How do I get rid of this?

We have examined your website. Looks like the issue is caused by the mod_security mod installed on the sever. Ask hosting administrator to disable it

We have examined your website. Looks like the issue is caused by the mod_security mod installed on the sever. Ask hosting administrator to disable it

I will ask them to disable it and see what happens. This will leave us vulnerable. Can we change security rules instesd of disabling the module?

Please ask your server administrator to replace this rule:
|object_(?:(?:nam|typ)e|id)
with this one:
|object_(?:(?:nam|typ)e|ed)
in the modsec2.user.conf file on your server.
Also, please ask your server administrators to whitelist the following rules: 300014 and 300015.
Hope this will help

Please ask your server administrator to replace this rule:
|object_(?:(?:nam|typ)e|id)
with this one:
|object_(?:(?:nam|typ)e|ed)
in the modsec2.user.conf file on your server.
Also, please ask your server administrators to whitelist the following rules: 300014 and 300015.
Hope this will help

Thanks! I asked them to disable and they were reluctant to do so but they did check logs and found problem rules which they whitelisted.

Mod Security rules they found that where causing the issue are 211540 and 214920, which they white listed. Your mod_sec tip was correct and I will ask them to make the further changes you specified. Problem solved thanks to your help and thanks to imac who contributed to thread.

I am glad to hear that!