Post by oggjay24 » Sat Feb 22, 2025 4:38 am

Ok guys be easy on me.. Migrated from one server to another. Everything worked fine afterwards. Then all the sudden when I edit product and click save it leads to the front end "Page not Found". I have checked both config.php files. I have looked at the .htaccess file. Everything looks fine. I have cleared all the caches. Nothing has changed from one server to the other. No SEO Extensions. What else do I need to look into..

Ver 3.0.4
Php 8.0

Newbie

Posts

Joined
Sat Nov 23, 2024 12:07 pm

Post by oggjay24 » Sat Feb 22, 2025 4:55 am

Here is the page its looking for it that helps..

/index.php?route=catalog/product/edit&user_token=1Ads5evB9HWMAIGWmkXkxF7oU7WmrP5s&product_id=60

My Config:
// DIR
define('DIR_APPLICATION', '/home/opp/public_html/catalog/');
define('DIR_SYSTEM', '/home/opp/public_html/system/');
define('DIR_IMAGE', '/home/opp/public_html/image/');
define('DIR_STORAGE', '/home/opp/storage/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
Admin Config:
// DIR
define('DIR_APPLICATION', '/home/opp/public_html/oppcontrol/');
define('DIR_SYSTEM', '/home/opp/public_html/system/');
define('DIR_IMAGE', '/home/opp/public_html/image/');
define('DIR_STORAGE', '/home/opp/storage/');
define('DIR_CATALOG', '/home/opp/public_html/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

Newbie

Posts

Joined
Sat Nov 23, 2024 12:07 pm

Post by ADD Creative » Sat Feb 22, 2025 5:30 am

Is the page not found OpenCart generated of server generated?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by oggjay24 » Sat Feb 22, 2025 5:34 am

ADD Creative wrote:
Sat Feb 22, 2025 5:30 am
Is the page not found OpenCart generated of server generated?
Opencart... I am assuming. Not a server error.. Nothing in logs. Server logs or Opencart logs..

Everything else on the site works, cart, checkout, etc..
Just cannot edit an old existing product. I can Add a new product and edit it.
Seems like something within the database got messed up. Just cannot find it.

Newbie

Posts

Joined
Sat Nov 23, 2024 12:07 pm

Post by oggjay24 » Sat Feb 22, 2025 6:56 am

After more digging around. On my list of products the first page of the list fails. The second page of the product list works just fine..
What the heck is going on..

Newbie

Posts

Joined
Sat Nov 23, 2024 12:07 pm

Post by mehdicomp » Sat Feb 22, 2025 5:39 pm

i thinks your store has a error to save product .you can send admin information to ticket in my.opencart-ir.com to check your store to resolve your problem

Newbie

Posts

Joined
Tue Apr 20, 2010 6:40 pm

Post by ADD Creative » Sat Feb 22, 2025 8:40 pm

oggjay24 wrote:
Sat Feb 22, 2025 5:34 am
ADD Creative wrote:
Sat Feb 22, 2025 5:30 am
Is the page not found OpenCart generated of server generated?
Opencart... I am assuming. Not a server error.. Nothing in logs. Server logs or Opencart logs..

Everything else on the site works, cart, checkout, etc..
Just cannot edit an old existing product. I can Add a new product and edit it.
Seems like something within the database got messed up. Just cannot find it.
Does the page not found have the OpenCart layout on the page, either front end of admin? If not and it just a blank page then is server generated.

If OpenCart generated, check you htaccess , by disabling it and check it's not caused by an extension by disabling them.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by oggjay24 » Sun Feb 23, 2025 12:15 am

ADD Creative wrote:
Sat Feb 22, 2025 8:40 pm
oggjay24 wrote:
Sat Feb 22, 2025 5:34 am
ADD Creative wrote:
Sat Feb 22, 2025 5:30 am
Is the page not found OpenCart generated of server generated?
Opencart... I am assuming. Not a server error.. Nothing in logs. Server logs or Opencart logs..

Everything else on the site works, cart, checkout, etc..
Just cannot edit an old existing product. I can Add a new product and edit it.
Seems like something within the database got messed up. Just cannot find it.
Does the page not found have the OpenCart layout on the page, either front end of admin? If not and it just a blank page then is server generated.

If OpenCart generated, check you htaccess , by disabling it and check it's not caused by an extension by disabling them.
Yes its an opencart layout. Front end main storefront. Not admin. So yes, Opencart error..

Newbie

Posts

Joined
Sat Nov 23, 2024 12:07 pm

Post by ADD Creative » Sun Feb 23, 2025 12:41 am

Try without any htaccess files. At least that way you will eliminate the issue being there.

You could also check your web browser's developer console for errors.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by oggjay24 » Wed Feb 26, 2025 10:21 am

Finally Resolved.. It was a section of code within the product description. Thanks for all your input..

Newbie

Posts

Joined
Sat Nov 23, 2024 12:07 pm

Post by OSWorX » Wed Feb 26, 2025 12:58 pm

oggjay24 wrote:
Wed Feb 26, 2025 10:21 am
Finally Resolved.. It was a section of code within the product description. Thanks for all your input..
Guess a "copy & paste" action .. otherwise I can not imagine how a code should be part of a simple description ..

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Administrator

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria
Who is online

Users browsing this forum: No registered users and 18 guests