Zen Cart Logo
Forums / General Questions / Web page not loading and going to http://www.hostinger.co.uk/error_403

Web page not loading and going to http://www.hostinger.co.uk/error_403

Views: 2,557

Results 1 to 13 of 13
16 Jan 2016, 7:43 PM
#1
wcsur avatar

wcsur

New Zenner

Join Date:
Mar 2014
Location:
Washington state
Posts:
59
Plugin Contributions:
0

Web page not loading and going to http://www.hostinger.co.uk/error_403

I use servers free hosting but when I try to run, its going here http://www.hostinger.co.uk/error_403
Have not been to the page for a month but was working fine before. What do I need to show you to figure out what is going on?

16 Jan 2016, 8:56 PM
#2
wcsur avatar

wcsur

New Zenner

Join Date:
Mar 2014
Location:
Washington state
Posts:
59
Plugin Contributions:
0

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

This is my includes file

<?php /** * @package Configuration Settings circa 1.5.1 * @copyright Copyright 2003-2012 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2014-02-28 02:38:09 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ /** * WE RECOMMEND THAT YOU USE SSL PROTECTION FOR YOUR ENTIRE ADMIN: * To do that, make sure you use a "https:" URL for BOTH the HTTP_SERVER and HTTPS_SERVER entries: */ define('HTTP_SERVER', 'http://thedreamweaver.bugs3.com'); define('HTTPS_SERVER', 'https://thedreamweaver.bugs3.com'); define('HTTP_CATALOG_SERVER', 'http://thedreamweaver.bugs3.com'); define('HTTPS_CATALOG_SERVER', 'https://thedreamweaver.bugs3.com'); // secure webserver for admin? Valid choices are 'true' or 'false' (including quotes). define('ENABLE_SSL_ADMIN', 'false'); // secure webserver for storefront? Valid choices are 'true' or 'false' (including quotes). define('ENABLE_SSL_CATALOG', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) $t1 = parse_url(HTTP_SERVER);$p1 = $t1['path'];$t2 = parse_url(HTTPS_SERVER);$p2 = $t2['path']; define('DIR_WS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p1) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/'); define('DIR_WS_CATALOG', '/Shop/zen-cart-v1.5.1-full-fileset-09182012/'); define('DIR_WS_HTTPS_ADMIN', preg_replace('#^' . str_replace('-', '\-', $p2) . '#', '', dirname($_SERVER['SCRIPT_NAME'])) . '/'); define('DIR_WS_HTTPS_CATALOG', '/Shop/zen-cart-v1.5.1-full-fileset-09182012/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) define('DIR_FS_ADMIN', realpath(dirname(__FILE__) . '/../') . '/'); //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/u401774422/public_html/Shop/zen-cart-v1.5.1-full-fileset-09182012/'); //the following path is a COMPLETE path to the /logs/ folder eg: /var/www/vhost/accountname/public_html/store/logs ... and no trailing slash define('DIR_FS_LOGS', '/home/u401774422/public_html/Shop/zen-cart-v1.5.1-full-fileset-09182012/logs'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', ''); define('DB_CHARSET', 'utf8'); define('DB_SERVER', 'mysql.serversfree.com'); define('DB_SERVER_USERNAME', ); define('DB_SERVER_PASSWORD',); define('DB_DATABASE', 'u401774422_dream'); // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'none'); define('DIR_FS_SQL_CACHE', '/home/u401774422/public_html/Shop/zen-cart-v1.5.1-full-fileset-09182012/cache'); // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings */ // EOF
17 Jan 2016, 12:57 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

Using this as your server

define('HTTP_SERVER', 'http://thedreamweaver.bugs3.com');

I do not see this entry as being close to valid

define('DIR_FS_CATALOG', '/home/u401774422/public_html/Shop/zen-cart-v1.5.1-full-fileset-09182012/');
17 Jan 2016, 1:40 AM
#4
wcsur avatar

wcsur

New Zenner

Join Date:
Mar 2014
Location:
Washington state
Posts:
59
Plugin Contributions:
0

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

This is what it has always been. I heard that Zen Cart changed something a couples ago but I never got an email about, but my GF did but she does not have the email any more and that's about the time it quit working. Any idea what it was that was changed? Maybe that why it doesn't work any more.

17 Jan 2016, 2:31 AM
#5
wcsur avatar

wcsur

New Zenner

Join Date:
Mar 2014
Location:
Washington state
Posts:
59
Plugin Contributions:
0

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

It goes to the mail page outside of Zen Cart then when you click on the browse link (http://thedreamweaver.bugs3.com/Shop/zen-cart-v1.5.1-full-fileset-09182012/index.php) it never finishes. Here is the index.php:

<?php /** * index.php represents the hub of the Zen Cart MVC system * * Overview of flow * <ul> * <li>Load application_top.php - see {@tutorial initsystem}</li> * <li>Set main language directory based on $_SESSION['language']</li> * <li>Load all *header_php.php files from includes/modules/pages/PAGE_NAME/</li> * <li>Load html_header.php (this is a common template file)</li> * <li>Load main_template_vars.php (this is a common template file)</li> * <li>Load on_load scripts (page based and site wide)</li> * <li>Load tpl_main_page.php (this is a common template file)</li> * <li>Load application_bottom.php</li> * </ul> * * @package general * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: index.php 2942 2006-02-02 04:41:23Z drbyte $ */ /** * Load common library stuff */ require('includes/application_top.php'); $language_page_directory = DIR_WS_LANGUAGES . $_SESSION['language'] . '/'; $directory_array = $template->get_template_part($code_page_directory, '/^header_php/'); foreach ($directory_array as $value) { /** * We now load header code for a given page. * Page code is stored in includes/modules/pages/PAGE_NAME/directory * 'header_php.php' files in that directory are loaded now. */ require($code_page_directory . '/' . $value); } /** * We now load the html_header.php file. This file contains code that would appear within the HTML <head></head> code * it is overridable on a template and page basis. * In that a custom template can define its own common/html_header.php file */ require($template->get_template_dir('html_header.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/html_header.php'); /** * Define Template Variables picked up from includes/main_template_vars.php unless a file exists in the * includes/pages/{page_name}/directory to overide. Allowing different pages to have different overall * templates. */ require($template->get_template_dir('main_template_vars.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/main_template_vars.php'); /** * Read the "on_load" scripts for the individual page, and from the site-wide template settings * NOTE: on_load_*.js files must contain just the raw code to be inserted in the <body> tag in the on_load="" parameter. * Looking in "/includes/modules/pages" for files named "on_load_*.js" */ $directory_array = $template->get_template_part(DIR_WS_MODULES . 'pages/' . $current_page_base, '/^on_load_/', '.js'); foreach ($directory_array as $value) { $onload_file = DIR_WS_MODULES . 'pages/' . $current_page_base . '/' . $value; $read_contents=''; $lines = @file($onload_file); foreach($lines as $line) { $read_contents .= $line; } $za_onload_array[] = $read_contents; } /** * now read "includes/templates/TEMPLATE/jscript/on_load/on_load_*.js", which would be site-wide settings */ $directory_array=array(); $tpl_dir=$template->get_template_dir('.js', DIR_WS_TEMPLATE, 'jscript/on_load', 'jscript/on_load_'); $directory_array = $template->get_template_part($tpl_dir ,'/^on_load_/', '.js'); foreach ($directory_array as $value) { $onload_file = $tpl_dir . '/' . $value; $read_contents=''; $lines = @file($onload_file); foreach($lines as $line) { $read_contents .= $line; } $za_onload_array[] = $read_contents; } // set $zc_first_field for backwards compatibility with previous version usage of this var if (isset($zc_first_field) && $zc_first_field !='') $za_onload_array[] = $zc_first_field; $zv_onload = ""; if (isset($za_onload_array) && count($za_onload_array)>0) $zv_onload=implode(';',$za_onload_array); //ensure we have just one ';' between each, and at the end $zv_onload = str_replace(';;',';',$zv_onload.';'); // ensure that a blank list is truly blank and thus ignored. if (trim($zv_onload) == ';') $zv_onload=''; /** * Define the template that will govern the overall page layout, can be done on a page by page basis * or using a default template. The default template installed will be a standard 3 column layout. This * template also loads the page body code based on the variable $body_code. */ require($template->get_template_dir('tpl_main_page.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_main_page.php'); ?> </html> <?php /** * Load general code run before page closes */ ?> <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
17 Jan 2016, 3:48 AM
#6
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,958
Plugin Contributions:
8

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

if it was working, and then it stopped; something most likely happened at your host. if ZC changed and you did nothing, it would not affect you as you would not have updated to the new codeset.

i would explore the problem with your hosting company.

17 Jan 2016, 5:42 AM
#7
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

This is what it has always been. I heard that Zen Cart changed something a couples ago but I never got an email about
Even if ZenCart had changed something it would not affect what you have installed
Guess you get what you pay for

17 Jan 2016, 5:48 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

When this link finishes
http://thedreamweaver.bugs3.com/Shop/zen-cart-v1.5.1-full-fileset-09182012/index.php

This is presented

Service Temporarily Unavailable

The server closed the connection without sending any data.

The server is temporarily unable to service your request due to maintenance downtime or capacity problems.

Due to heavy load on the server, connections may be temporarily blocked from locations that fetch an unusually high number of pages.

We apologize for the inconvenience. 

Again, You get what you pay for

17 Jan 2016, 6:04 AM
#9
wcsur avatar

wcsur

New Zenner

Join Date:
Mar 2014
Location:
Washington state
Posts:
59
Plugin Contributions:
0

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

Come on, the other site I have on there works fine, but it does not use Zen Cart because that site does not sell anything. Also I cant get in the admin site either I just found out to manage the content of the page.

17 Jan 2016, 7:10 AM
#10
wcsur avatar

wcsur

New Zenner

Join Date:
Mar 2014
Location:
Washington state
Posts:
59
Plugin Contributions:
0

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

Trying to run site off line and come to find out that none of the PHP files will run.

19 Jan 2016, 2:16 AM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

Come on, the other site I have on there works fine, but it does not use Zen Cart
ZenCart is a database intensive application
Trying to run site off line and come to find out that none of the PHP files will run.
Running offline - using what??

20 Jan 2016, 1:34 AM
#12
wcsur avatar

wcsur

New Zenner

Join Date:
Mar 2014
Location:
Washington state
Posts:
59
Plugin Contributions:
0

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

kobra:

ZenCart is a database intensive application

Running offline - using what??

Coffee cup software. Will run the website.

20 Jan 2016, 9:17 AM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Web page not loading and going to http://www.hostinger.co.uk/error_403

As far as I can see Coffee cup software is html based NOT php based as is ZenCart
If you want to run it locally on a PC you should investigate xampp
https://www.apachefriends.org/download.html
or wamp
http://www.wampserver.com/en/