So I finally figured this out. This is the first time I installed on a shared hosting account and it was through GoDaddy. GoDaddy uses Installatron and they include OpenCart as one of the software packages. So I figured why not. After looking at the "What's New" for 2.1.0.1 I noticed this:
This version was originally withheld due to issues discovered during our QA process. These concerns have been remedied through a patch available on the OpenCart forums.
Well this turns out to include a patch that isn't part of the release on October 6th, 2015. I think through that process something got screwed up because the issue is DIR_CATALOG exists in both config.php and admin/config.php. Here is the relevant code in config.php that created the bug.
define('DIR_CATALOG', '/home/store/public_html/catalog/');
define('DIR_APPLICATION', DIR_CATALOG);
This is turns screws up modification() function call in system/startup.php. To fix it remove the DIR_APPLICATION line and then change DIR_CATALOG to DIR_APPLICATION and store to your install folder:
define('DIR_APPLICATION', '/home/store/public_html/catalog/');
You also need to modify these entries in config.php and admin/config.php:
Code: Select all
define('DIR_CACHE', DIR_SYSTEM.'cache/');
define('DIR_DOWNLOAD', DIR_SYSTEM.'download/');
define('DIR_UPLOAD', DIR_SYSTEM.'upload/');
define('DIR_MODIFICATION', DIR_SYSTEM.'modification/');
define('DIR_LOGS', DIR_SYSTEM.'logs/');
Change to:
Code: Select all
define('DIR_CACHE', DIR_SYSTEM.'storage/cache/');
define('DIR_DOWNLOAD', DIR_SYSTEM.'storage/download/');
define('DIR_UPLOAD', DIR_SYSTEM.'storage/upload/');
define('DIR_MODIFICATION', DIR_SYSTEM.'storage/modification/');
define('DIR_LOGS', DIR_SYSTEM.'storage/logs/');
I wanted to write this up in case anyone else has this issue and searches the forum. In the States a lot of people use GoDaddy.