New Zenner
- Join Date:
- Dec 2009
- Posts:
- 6
- Plugin Contributions:
- 0
Page wont load after sign up. and nore will others, Help PLEASE :)
:smile: Please advise and or help.
I have a site i made today, not a web person at all. I know photoshop well though.
Site is http://wrappedinpink.com When some one signs up and or logs in it will not take them any where just loads the top half of the banner
The e-mail gets sent to the user signing up but pages wont load
the theme i used is a pink one, I only changed the background color to white using the themes css. And the main index page i changed to the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0014)about:internet -->
<html>
<head>
<title>Wrapped in Pink</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">td img {display: block;}body,td,th {
color: #F394B8;
}
body {
background-color: #FFCCFF;
}
</style>
</head>
<body>
<table width="1024" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="spacer.gif" width="105" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="235" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="110" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="118" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="347" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="38" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="71" height="1" border="0" alt="" /></td>
<td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="7"><img name="wrapped_r1_c1" src="wrapped_r1_c1.png" width="1024" height="134" border="0" id="wrapped_r1_c1" alt="" /></td>
<td><img src="spacer.gif" width="1" height="134" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" colspan="3"><img name="wrapped_r2_c1" src="wrapped_r2_c1.png" width="450" height="130" border="0" id="wrapped_r2_c1" alt="" /></td>
<td colspan="2" bgcolor="#FFFFFF"> </td>
<td rowspan="2" colspan="2"><img name="wrapped_r2_c6" src="wrapped_r2_c6.png" width="109" height="130" border="0" id="wrapped_r2_c6" alt="" /></td>
<td><img src="spacer.gif" width="1" height="119" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2"><img name="wrapped_r3_c4" src="wrapped_r3_c4.png" width="465" height="11" border="0" id="wrapped_r3_c4" alt="" /></td>
<td><img src="spacer.gif" width="1" height="11" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="7" background="wrapped_r4_c1.png"><table width="960" border="0" align="center">
<tr>
<td valign="middle">
<?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'); ?>
</td>
</tr>
</table></td>
<td><img src="spacer.gif" width="1" height="11" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="7"><img name="wrapped_r6_c1" src="wrapped_r6_c1.png" width="1024" height="22" border="0" id="wrapped_r6_c1" alt="" /></td>
<td><img src="spacer.gif" width="1" height="22" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="7"><img name="wrapped_r7_c1" src="wrapped_r7_c1.png" width="105" height="161" border="0" id="wrapped_r7_c1" alt="" /></td>
<td colspan="5" bgcolor="#FFFFFF"> </td>
<td rowspan="7"><img name="wrapped_r7_c7" src="wrapped_r7_c7.png" width="71" height="161" border="0" id="wrapped_r7_c7" alt="" /></td>
<td><img src="spacer.gif" width="1" height="45" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" bgcolor="#FFFFFF"> </td>
<td rowspan="5" colspan="2"><img name="wrapped_r8_c3" src="wrapped_r8_c3.png" width="228" height="105" border="0" id="wrapped_r8_c3" alt="" /></td>
<td colspan="2" bgcolor="#FFFFFF"> </td>
<td><img src="spacer.gif" width="1" height="34" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="3" colspan="2"><img name="wrapped_r9_c5" src="wrapped_r9_c5.png" width="385" height="70" border="0" id="wrapped_r9_c5" alt="" /></td>
<td><img src="spacer.gif" width="1" height="6" border="0" alt="" /></td>
</tr>
<tr>
<td><img name="wrapped_r10_c2" src="wrapped_r10_c2.png" width="235" height="63" border="0" id="wrapped_r10_c2" alt="" /></td>
<td><img src="spacer.gif" width="1" height="63" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="3"><img name="wrapped_r11_c2" src="wrapped_r11_c2.png" width="235" height="13" border="0" id="wrapped_r11_c2" alt="" /></td>
<td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td rowspan="2" colspan="2"><img name="wrapped_r12_c5" src="wrapped_r12_c5.png" width="385" height="12" border="0" id="wrapped_r12_c5" alt="" /></td>
<td><img src="spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
<tr>
<td colspan="2"><img name="wrapped_r13_c3" src="wrapped_r13_c3.png" width="228" height="11" border="0" id="wrapped_r13_c3" alt="" /></td>
<td><img src="spacer.gif" width="1" height="11" border="0" alt="" /></td>
</tr>
</table>
</body>
</html>
So all i did was take a pyhotoshop theme and in the middle pasted the default zencart index in there, Also i have tried deleting it and starting over many times this is the 5th time i tried, I also changed themes but it has no effect.
ON A SIDE NOTE.
I also do not know how to make the menu stay in the middle of the page like i want it shows up at the top and it irritates me so.
Any help fixing my site is DEEPLY appreciated.
~ Laura ~