Post by pgt_gaming » Wed Feb 06, 2013 3:32 am

OK so I have read through tons of other threads about getting an Error 404 and none of the suggestions have helped to get this figured out so I decided to try making my own thread in hopes that I will find a solution as soon as possible. Ok so I just got a SSL certificate installed and now my site just comes up with this error:

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.

And the URL at the top shows this after my domain: /install/index.php

So I took some advice from my hosting site's support forums and checked my Awstats for where all the Errors came from and this is what I got (I added dashes in front of each so you knew where one started & one ended):

Required but not found URLs (HTTP code 404) URL (9) Error Hits Referrers
- /catalog/view/theme/default/image/next.png 394 http://www.progametroller.com/
- /catalog/view/theme/DarkOrange/image/arrow-down.png 388 http://progametroller.com/catalog/view/ ... esheet.css
- /catalog/view/theme/DarkOrange/image/success.png 3 http://progametroller.com/catalog/view/ ... esheet.css
- /image/cache/data/XS140297-90x90.jpg 2 http://progametroller.com/index.php
- /admin/catalog/view/theme/default/image/loading.gif 1 http://progametroller.com/admin/index.php
- /catalog/view/theme/DarkOrange/image/warning.png 1 http://progametroller.com/catalog/view/ ... esheet.css
- /index.php 1 http://progametroller.com/index.php
- /image/cache/data/XS140297-100x100.jpg 1 http://progametroller.com/admin/index.php
- /image/cache/data/demo/samsung_tab_1-80x80.jpg 1 -

I am not quite sure what to do with this to figure out how to fix those errors. I have looked in the files that it shows referred the errors but I am new at this so I am having a hard time figuring it out. If anyone has any ideas please let me know what you think. Also I did do the changing the .htaccess.txt to .htaccess and I checked the Rewrite base/ and everything is how it should be. So I don't know where to go from here.

I really appreciate any input you may have at all!
Last edited by pgt_gaming on Thu Feb 07, 2013 1:32 pm, edited 2 times in total.

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by pgt_gaming » Thu Feb 07, 2013 4:04 am

Ok so it seems that the config.php file is corrupted so it keeps thinking that it is a new install. So I have no idea how to fix this besides trying a new install and hoping the file isn't corrupted... well stupid thinking on my part as it seems that the config file is yet again corrupted.. lucky for me I backed up all my files but I have no idea what to do now. Should I upgrade to a different version of OpenCart or what? I installed this through my hosting site under Softalicious and the version is 1.5.4.1. Did anyone else have these problems with this version? I am so frustrated right now. Does anyone have any ideas of what I should do, please??

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by i2Paq » Thu Feb 07, 2013 6:04 am

You have not made a backup of your files?

Hope this helps.

Do change the domain.com + db info with that of your setup ;)

\config.php

Code: Select all

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

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

// DIR
define('DIR_APPLICATION', '/var/www/html/catalog/');
define('DIR_SYSTEM', '/var/www/html/system/');
define('DIR_DATABASE', '/var/www/html/system/database/');
define('DIR_LANGUAGE', '/var/www/html/catalog/language/');
define('DIR_TEMPLATE', '/var/www/html/catalog/view/theme/');
define('DIR_CONFIG', '/var/www/html/system/config/');
define('DIR_IMAGE', '/var/www/html/image/');
define('DIR_CACHE', '/var/www/html/system/cache/');
define('DIR_DOWNLOAD', '/var/www/html/download/');
define('DIR_LOGS', '/var/www/html/system/logs/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'name');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'databasename');
define('DB_PREFIX', '');
?>
\admin\config.php

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.domain.com/admin/');
define('HTTP_CATALOG', 'http://www.domain.com/');
define('HTTP_IMAGE', 'http://www.domain.com/image/');

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

// DIR
define('DIR_APPLICATION', '/var/www/html/admin/');
define('DIR_SYSTEM', '/var/www/html/system/');
define('DIR_DATABASE', '/var/www/html/system/database/');
define('DIR_LANGUAGE', '/var/www/html/admin/language/');
define('DIR_TEMPLATE', '/var/www/html/admin/view/template/');
define('DIR_CONFIG', '/var/www/html/system/config/');
define('DIR_IMAGE', '/var/www/html/image/');
define('DIR_CACHE', '/var/www/html/system/cache/');
define('DIR_DOWNLOAD', '/var/www/html/download/');
define('DIR_LOGS', '/var/www/html/system/logs/');
define('DIR_CATALOG', '/var/www/html/catalog/');

// DB
define('DB_DRIVER', 'mysql');
define('DB_HOSTNAME', 'localhost');
define('DB_USERNAME', 'name');
define('DB_PASSWORD', 'password');
define('DB_DATABASE', 'databasename');
define('DB_PREFIX', '');
?>

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by pgt_gaming » Thu Feb 07, 2013 11:22 am

Thank you for the help. Yes I did make back ups of everything. And I did do this as was suggested as soon as I got my SSL but the config files were corrupted and were showing up as strange symbols so I ended up re-installing and I made sure to do that first thing afterwards as well. It seems to be working fine now after the clean install. *Fingers-crossed* that it stays that way! lol. I am working so hard to get everything back to the way it was before. Luckily I saved all my changes but it still is taking a bit to get everything back to how I wanted it again.

Thanks again for the reply! :)

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by pgt_gaming » Thu Feb 07, 2013 1:37 pm

Ok I am about at my wits end right now. I am so frustrated!! UGH I went ahead and did the whole re-installing open cart thing and everything was fine for a few hours. But then all of sudden.. once again.. it decides to go all Error 404 on me and the URL at the top has the /install/index.php thing on there again!! I did try to do the whole SEO thing and did everything that I was told to do before hand. I researched it to make sure of it. I don't know if that has anything to do with it but it could be a contributing factor. Does anyone have any idea what I should do? My host support said I could try fixing the code in my config.php file but I have no idea what I am doing when it comes to coding so I have no clue what to do. Everything seemed fine after the re-install but now it is gone again. I was supposed to start a new sale tomorrow and everything and now I don't I will have even have it. I am just very frustrated. If anyone has any advice I would really appreciate it.

Thank you so much, and sorry for rambling on!

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by i2Paq » Thu Feb 07, 2013 4:38 pm

Is this a privat server or shared?

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by pgt_gaming » Fri Feb 08, 2013 1:14 pm

It is a private server. I was able to edit the config.php file to get it working finally, however, my admin dashboard is now a blank page. It shows the admin menu but no longer shows the dashboard. I am not sure why that is but it isn't the end of the world for me right now. If you have any ideas what could have caused that please let me know. Thank you for taking the time to read & reply to my post!

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by i2Paq » Sat Feb 09, 2013 1:40 am

I would check the CHMOD rights om your files and folders.

Files 644, folders 755
The \download, \system\cache, \image, \image\cache should have even more rights.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by pgt_gaming » Sat Feb 09, 2013 5:07 am

@i2Paq, thank you for the suggestion. I have gone through and checked them all, and all of the files are 644 and the Folders are 755. The only file that is 755 is the index.php as I was told to do this for Vqmod to work correctly. For these: \download, \system\cache, \image, \image\cache what would you say the permissions should be set at? You mention that they should have more permissions so I was just wondering what you meant by that?

Thanks again for your reply!

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by i2Paq » Sat Feb 09, 2013 5:19 pm

No file should have 755!
The index.php and admin\index.php needs this ONLY when you are installing vQmod

\download, \system\cache, \system\logs, \image, \image\cache should have 777

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by pgt_gaming » Sun Feb 10, 2013 2:21 am

Ah, ok, good to know! Thank you @i2Paq! I will make the changes right away and hopefully that will help my problems.

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by pgt_gaming » Mon Feb 11, 2013 2:26 am

Well I think I fixed some of it but my Dashboard still doesn't show anything. It's just blank but does have the menu bar at the top. I can't use SEO urls at all. I have done all the changes that everyone suggests but still doesn't work so I don't know what to do about it.

Newbie

Posts

Joined
Tue Jan 29, 2013 3:38 am

Post by marlin.nl » Fri Feb 22, 2013 8:05 pm

@i2pac,

While reading this post i get this question,

Maps always 755 ( Not for download, system ect. )
Files 644

Now my question is, is the file rights for tlp, php and all other files on the server?
I did not find the answer on this so i hope you can give it to me.

Linda

Live store Opencart 2.3.0.2 modified on https://webshopmarlin.nl


New member

Posts

Joined
Thu Aug 25, 2011 11:22 pm
Who is online

Users browsing this forum: No registered users and 8 guests