The css or js file is not working. index.php was not found on this server - opencart

This is my site but I am facing a problem. The css or js file is not working. I can't understand.
I using version opencart-2.0.3.1
here is the error:
Not Found
The requested URL
/home/co2consulting/public_html/e_shodai/upload/index.php was not
found on this server.
Additionally, a 404 Not Found error was encountered while trying to
use an ErrorDocument to handle the request. Apache/2.2.29 (Unix)
mod_ssl/2.2.29 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Server at
co2consulting.net Port 80

Well..by looking at your webpage.
The issue might be coming from 2 places
First one
Your config.php file is not set up properly
Second one
You are missing all of your link/paths inside your header.tpl file

Related

i deploy django project in cpanel(namecheap) without base url others urls are not working

i deploy django project in cpanel(namecheap) without base url others urls are not working
Not Found
The requested URL was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Caching issue in ngnix

I am stuck at this point, i am hosting a website on amazon aws with the help of nginx server.
this work fine for me until i changed a url, when i changed a url it did not showing, when i hit this url t shows 404 error.
I think this is cache issue in ngninx i tried evey possible available on stackoverflow .
I tried to tuen off sendfile in conf file but there in sendfile line in nginx.conf file
How can i remove cache in ngninx.
Where is this cache directory belongs.
Please help me.
Thanks in advance.

website be opened with redirection from stranger domaine

my problem is:
I own a website developed with django framework and uploaded in heroku.
my domain is "OnlyMyDomain.com", but "StrangeDomaine.com" calls my website with a redirect. in other words when you go to StrangeDomaine.com, my website is opened even if the address change to OnlyMyDomain.com.
I tried in my settings.py:
DEBUG = False
ALLOWED_HOSTS = ['OnlyMyDomain.com']
Please can someone explain to me where the problem is coming from? and how can I avoid it?
There is no problem. It seems that you define a permanent redirection (301) from StrangeDomain.com to OnlyMyDomain.com. Then request url will be updated, then StrangeDomain.com becomes OnlyMyDomain.com. If you want to avoid that, just remove this redirection.
The HTTP response status code 301 Moved Permanently is used for
permanent URL redirection, meaning current links or records using the
URL that the response is received for should be updated. The new URL
should be provided in the Location field included with the response.
Wiki : HTTP 301

IE cannot redirect wamp server 404 error page

I install a wampserver on my pc and i want to redirect a Http 404 Not Found error page to my style page but it not work properly in IE 9.0
if i give the file that not in wamp server, it shows the wamp server error page like this in firefox, safari
But in IE the same thing show like this
how can i make this same for all browser. Can anyone help me.
I use .htaccess file and httpd.config file to change the redirection but it not work in IE.
You need to create a .htaccess file and create your custom redirects. See this
http://www.htaccessbasics.com/404-custom-error-page/

How to make local server working after wamp installation?

I have just installed wamp and I copied all the projects inside www folder but when I browse http://localhost/project its displays error like this.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster#localhost 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.
I also changed the php setting and extensions but not working. So can anyone suggest for me.
Thanks
There can be a large number of possibilities for this error. for now, check to see if your project is using any php module that is not registered in php.ini. also check ur php.ini and httpd.conf (or whatever your apache config file is) )to see if all modules are configured correctly
I made it working. As I am using htaccss and I forgot to enable rewrite_module so it did not work. Now it works perfectly. Thanks to all of you for your answers that made me find out the solution. :)