I'm trying to upgrade from Version 1.5.6.4 to the lates 2.3.0.2
http://dev.forexample.co.uk/install/ind ... de/upgrade
I'm getting an internal server error warning below progress
Internal Server Error Internal Server Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
the logg show me
[Fri Oct 28 10:33:14 2016] [warn] [client xx.xx.x.x] mod_fcgid: stderr: PHP Notice: Use of undefined constant VERSION - assumed 'VERSION' in /home/xxx/public_html/system/framework.php on line 2
[Fri Oct 28 10:33:14 2016] [warn] [client ip] mod_fcgid: stderr: PHP Notice: Use of undefined constant VERSION - assumed 'VERSION' in /home/xxx/public_html/system/framework.php on line 2
[Fri Oct 28 10:33:48 2016] [warn] [client xx.xx.x.x] mod_fcgid: read data timeout in 31 seconds, referer: http://dev.forexample.co.uk/install/ind ... de/upgrade
[Fri Oct 28 10:33:48 2016] [error] [client xx.xx.x.x] Premature end of script headers: index.php, referer: http://dev.mforexample.co.uk/install/in ... de/upgrade
so do i need to add something to my config to define Version or is it framework.php?
// HTTP
define('HTTP_SERVER', 'http://development.onitsports.co.uk/');
define('HTTP_IMAGE', 'http://development.onitsports.co.uk/image/');
define('HTTP_ADMIN', 'http://development.onitsports.co.uk/admin/');
// HTTPS
define('HTTPS_SERVER', 'http://development.onitsports.co.uk/');
define('HTTPS_IMAGE', 'http://development.onitsports.co.uk/image/');
// DIR
define('DIR_APPLICATION', '/home/xxx/public_html/catalog/');
define('DIR_SYSTEM', '/home/xxx/public_html/system/');
define('DIR_DATABASE', '/home/xxx/public_html/system/database/');
define('DIR_LANGUAGE', '/home/xxx/public_html/catalog/language/');
define('DIR_TEMPLATE', '/home/xxx/public_html/catalog/view/theme/');
define('DIR_CONFIG', '/home/xxx/public_html/system/config/');
define('DIR_IMAGE', '/home/xx/public_html/image/');
define('DIR_CACHE', '/home/onitsportsoc/public_html/system/cache/');
define('DIR_DOWNLOAD', '/home/onitsportsoc/public_html/download/');
define('DIR_LOGS', '/home/onitsportsoc/public_html/system/logs/');
// DB
define('DB_DRIVER', 'mysqli');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'xxx');
define('DB_PASSWORD', 'xxxxxxxxx');
define('DB_DATABASE', 'xxxxx');
define('DB_PREFIX', 'oc_cart');
In OC-2.2, at least, a typical (root) config.php PATH content would usually look like this
and also contains additional DB Fields:
But other than that, it may not be as easy as you figured, in the first place, trying to UPGRADE a basically
un-upgradable 1.5.6.x Version and it's DB, therefore, other problems possibly still exist, besides of the config.php content.
Good Luck!
Ernie
Code: Select all
// DIR
define('DIR_APPLICATION', '/home/jacobch/www/bigmax/oc22/catalog/');
define('DIR_SYSTEM', '/home/jacobch/www/bigmax/oc22/system/');
define('DIR_IMAGE', '/home/jacobch/www/bigmax/oc22/image/');
define('DIR_LANGUAGE', '/home/jacobch/www/bigmax/oc22/catalog/language/');
define('DIR_TEMPLATE', '/home/jacobch/www/bigmax/oc22/catalog/view/theme/');
define('DIR_CONFIG', '/home/jacobch/www/bigmax/oc22/system/config/');
define('DIR_CACHE', '/home/jacobch/www/bigmax/oc22/system/storage/cache/');
define('DIR_DOWNLOAD', '/home/jacobch/www/bigmax/oc22/system/storage/download/');
define('DIR_LOGS', '/home/jacobch/www/bigmax/oc22/system/storage/logs/');
define('DIR_UPLOAD', '/home/jacobch/www/bigmax/oc22/system/storage/upload/');
Code: Select all
//DB
define('DB_PORT', '3306');
define('DB_PREFIX', 'oc_cart');
un-upgradable 1.5.6.x Version and it's DB, therefore, other problems possibly still exist, besides of the config.php content.
Good Luck!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: No registered users and 17 guests