Post by ohmashoes » Sun May 15, 2016 8:33 am

Please help.

I upgraded from 1.5.6.4. to 2.2.0

All of a sudden Admin, Images and System folder disappears from my ftp and now I can access the website.

Here is the error I am getting when I try to access the site:

Forbidden

You don't have permission to access / on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

HELP PLEASE.

Everything was working just fine.

Newbie

Posts

Joined
Mon Jul 09, 2012 12:43 am

Post by IP_CAM » Sun May 15, 2016 8:53 am

Sure, it worked, but possibly only, as long as you had the old content still active in the cache Sections.
How did you upgrade anyway? I only ask, because, the latest OC 2.2 Download-Package includes only this:

Code: Select all

/////////////////////////////////
///       OpenCart V2.x     ///
///    Install Instructions   ///
///  http://www.opencart.com  ///
/////////////////////////////////
NOTE: THIS IS FOR NEW INSTALL ONLY!
IF UPGRADING YOUR EXISTING CART, BE SURE TO READ THE UPGRADE.TXT FILE INSTEAD
and this is the UPGRADE.TXT File Content:

Code: Select all

///////////////////////////////////////
///    OpenCart V1.5.x TO 1.5.x     ///
///      Upgrade Instructions       ///
///     http://www.opencart.com     ///
///////////////////////////////////////
NOTE: THIS IS FOR UPGRADE ON EXISTING INSTALLS ONLY!
IF INSTALLING NEW, BE SURE TO READ THE INSTALL.TXT FILE INSTEAD
but sure no UPGRADE Installation infos exists on upgrading an OC v.1.5.x to OC-2 !

Or in short, you probably just screwed up. Hopefully, you still have it all, as Reserve, as it was before,
including it's (formerly) working DB Content !?
Sorry, for the bad News! ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by viethemes » Mon May 16, 2016 12:04 am

Have you use a FTP client for upgrading? Maybe the FTP client overwrites those folders.

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by ohmashoes » Mon May 16, 2016 9:09 pm

Thank you for your responses.

Here is what I found out:

In Opencart ver 2.2, when I click on Extension/Modification/Refresh, a long page of error messages show and when you go into your root directory via ftp (or wherever you installed your store) all the core files are gone.

I was lucky to be able to get a backup of my store from my host recovery.

Once I realized I could get my files, I tried this 2 more times to confirm that this is a MAJOR bug in OC ver 2.2

So my lessons learned is to make sure I have a backup of my site before doing anything at all. I am also going to submit this in OC bug report for them to look at.

Good luck...i was up for over 36 hours before I realized that this is a major bug.

Newbie

Posts

Joined
Mon Jul 09, 2012 12:43 am

Post by viethemes » Mon May 16, 2016 10:51 pm

It seems that there are some things wrong in config files. Could you attach two files admin/config.php and config.php so we can take a look at the problem closer?

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by ohmashoes » Mon May 16, 2016 11:28 pm

admin/config file

<?php

// HTTP
define('HTTP_SERVER', 'http://www.ohmashoes.com/admin/');
define('HTTP_CATALOG', 'http://www.ohmashoes.com/');
define('HTTP_IMAGE', 'http://www.ohmashoes.com/image/');

// HTTPS
define('HTTPS_SERVER', 'https://www.ohmashoes.com/admin/');
define('HTTPS_CATALOG', 'https://www.ohmashoes.com/');
define('HTTPS_IMAGE', 'https://www.ohmashoes.com/image/');

// DIR
define('DIR_APPLICATION', '/homepages/0/d417133930/htdocs/admin/');
define('DIR_SYSTEM', '/homepages/0/d417133930/htdocs/system/');
define('DIR_DATABASE', '/homepages/0/d417133930/htdocs/system/database/');
define('DIR_LANGUAGE', '/homepages/0/d417133930/htdocs/admin/language/');
define('DIR_TEMPLATE', '/homepages/0/d417133930/htdocs/admin/view/template/');
define('DIR_CONFIG', '/homepages/0/d417133930/htdocs/system/config/');
define('DIR_IMAGE', '/homepages/0/d417133930/htdocs/image/');
define('DIR_CACHE', '/homepages/0/d417133930/htdocs/system/cache/');
define('DIR_DOWNLOAD', '/homepages/0/d417133930/htdocs/download/');
define('DIR_LOGS', '/homepages/0/d417133930/htdocs/system/logs/');
define('DIR_CATALOG', '/homepages/0/d417133930/htdocs/catalog/');
define('DIR_MODIFICATION','/homepages/0/d417133930/htdocs/');
define('DIR_UPLOAD','/homepages/0/d417133930/htdocs/system/upload/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'db434759251.db.1and1.com');
define('DB_USERNAME', 'dbo434759251');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'db434759251');
define('DB_PORT', '3306');
define('DB_PREFIX', '');

/*
// HTTP
define('HTTP_SERVER', 'http://www.ohmashoes.com/admin060313/');
define('HTTP_CATALOG', 'http://www.ohmashoes.com/');
define('HTTP_IMAGE', 'http://www.ohmashoes.com/image/');

// HTTPS
define('HTTPS_SERVER', 'https://www.ohmashoes.com/admin060313/');
define('HTTPS_CATALOG', 'https://www.ohmashoes.com/');
define('HTTPS_IMAGE', 'https://www.ohmashoes.com/image/');

// DIR
define('DIR_APPLICATION', '/homepages/0/d417133930/htdocs/admin060313/');
define('DIR_SYSTEM', '/homepages/0/d417133930/htdocs/system/');
define('DIR_DATABASE', '/homepages/0/d417133930/htdocs/system/database/');
define('DIR_LANGUAGE', '/homepages/0/d417133930/htdocs/admin060313/language/');
define('DIR_TEMPLATE', '/homepages/0/d417133930/htdocs/admin060313/view/template/');
define('DIR_CONFIG', '/homepages/0/d417133930/htdocs/system/config/');
define('DIR_IMAGE', '/homepages/0/d417133930/htdocs/image/');
define('DIR_CACHE', '/homepages/0/d417133930/htdocs/system/cache/');
define('DIR_DOWNLOAD', '/homepages/0/d417133930/htdocs/download/');
define('DIR_LOGS', '/homepages/0/d417133930/htdocs/system/logs/');
define('DIR_CATALOG', '/homepages/0/d417133930/htdocs/catalog/');
define('DIR_UPLOAD','/homepages/0/d417133930/htdocs/system/upload/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'db434759251.db.1and1.com');
define('DB_USERNAME', 'dbo434759251');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'db434759251');
define('DB_PREFIX', '');
*/
?>


config file
<?php
// HTTP
define('HTTP_SERVER', 'http://www.ohmashoes.com/');
define('HTTP_IMAGE', 'http://www.ohmashoes.com/image/');
define('HTTP_ADMIN', 'http://www.ohmashoes.com/admin/');

// HTTPS
define('HTTPS_SERVER', 'http://www.ohmashoes.com/');
define('HTTPS_IMAGE', 'http://www.ohmashoes.com/image/');

// DIR
define('DIR_MODIFICATION','/homepages/0/d417133930/htdocs/');
define('DIR_APPLICATION', '/homepages/0/d417133930/htdocs/catalog/');
define('DIR_SYSTEM', '/homepages/0/d417133930/htdocs/system/');
define('DIR_DATABASE', '/homepages/0/d417133930/htdocs/system/database/');
define('DIR_LANGUAGE', '/homepages/0/d417133930/htdocs/catalog/language/');
define('DIR_TEMPLATE', '/homepages/0/d417133930/htdocs/catalog/view/theme/');
define('DIR_CONFIG', '/homepages/0/d417133930/htdocs/system/config/');
define('DIR_IMAGE', '/homepages/0/d417133930/htdocs/image/');
define('DIR_CACHE', '/homepages/0/d417133930/htdocs/system/cache/');
define('DIR_DOWNLOAD', '/homepages/0/d417133930/htdocs/download/');
define('DIR_LOGS', '/homepages/0/d417133930/htdocs/system/logs/');
define('DIR_UPLOAD', '/homepages/0/d417133930/htdocs/system/upload/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'db434759251.db.1and1.com');
define('DB_USERNAME', 'dbo434759251');
define('DB_PASSWORD', '');
define('DB_DATABASE', 'db434759251');
define('DB_PORT', '3306');
define('DB_PREFIX', '');
?>

Newbie

Posts

Joined
Mon Jul 09, 2012 12:43 am

Post by viethemes » Tue May 17, 2016 11:29 pm

It seems that your config files are wrong. You should change DIR_MODIFICATION to

Code: Select all

define('DIR_MODIFICATION','/homepages/0/d417133930/htdocs/system/storage/modification/');

http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension

Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme

Extra Positions PRO, Custom JavaScript, Custom CSS and others


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm

Who is online

Users browsing this forum: No registered users and 297 guests