Post by fitri sultan » Wed Mar 14, 2018 4:23 pm

OC Version: 3.0.2.0
Theme: Default
Extension/Mods: N/A

Your query:
i have developed my Open Cart Store about 2 months ago on my localhost. It's been a long time until i open it again yesterday. But unfortunately, when i try to log in to Admin site. The page redirect me to localhost/"projectname"/upload/install/index.php and it display Object not found! why this is happen. can you help me please

A link to your site:

Attachments

Capture2.PNG

Capture2.PNG (29.06 KiB) Viewed 2242 times

Capture.PNG

Capture.PNG (31.97 KiB) Viewed 2242 times


Newbie

Posts

Joined
Wed Mar 14, 2018 4:11 pm

Post by straightlight » Thu Mar 15, 2018 12:38 am

What are your config.php and admin/config.php files configuration settings (without password)? Have you also tried to run Opencart from the htdocs folder directly without a sub-folder name (namespace)?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by fitri sultan » Tue Mar 20, 2018 5:10 pm

Hi. i've tried to run Open Cart from the htdocs folder directly but the results still remain the same. Also i attach to you the config.php and admin/config.php. i have no password for my database.

And for your information. i've already try to install new Open Cart. and after the installation is done. when i click to visit my store or admin site. The page redirect me to upgrade Open Cart page. and when the update progress is complete. i click on CONTINUE button but it will upgrade again. And when i run the new Open Cart from the htdocs folder. the page redirect me to the upgrade page again.

Can you help me fix it. Thank you.

Attachments

upgrade.PNG

upgrade.PNG (76.21 KiB) Viewed 2176 times

adminconfig.PNG

adminconfig.PNG (52.07 KiB) Viewed 2176 times

config.PNG

config.PNG (43.37 KiB) Viewed 2176 times


Newbie

Posts

Joined
Wed Mar 14, 2018 4:11 pm

Post by straightlight » Tue Mar 20, 2018 9:01 pm

You are using a virtual server. Not an issue with OC.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by IP_CAM » Tue Mar 20, 2018 10:36 pm

The page redirect me to upgrade Open Cart page

Well, this can be a very hard to overcome problem, depending on the Browser
used, with my Firefox, after an installation, I usually have to kill all the cookies
and Cache, to then (usually) get rid of that 'linking to the install directory' again.
But if one is sure, to have it installed correctly, one could remove the:

Code: Select all

// Install 
if (!defined('DIR_APPLICATION')) {
	header('Location: install/index.php');
	exit;
}
from the index.php file, to get rid of it for good.
It's NOT a clean Hack, I am aware of that...
Ernie
Last edited by IP_CAM on Wed Mar 21, 2018 1:53 am, edited 1 time in total.

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 straightlight » Tue Mar 20, 2018 10:40 pm

Also ensure the config.php and admin/config.php files are writable. Windows security policies may still be able to write on those files excluding the virtual server path you are using. Meaning, both config.php files could still remain empty after the installation.

If so, please following this post: viewtopic.php?f=199&t=198781&p=699560#p699560

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 334 guests