Zen Follower
- Join Date:
- Dec 2005
- Posts:
- 117
- Plugin Contributions:
- 0
Urgent Help needed!
TheOracle:
Which installation process did you chosed from your test folder / server ? (Full or Upgrade ?)
I chose upgrade
Zen Follower
TheOracle:
Which installation process did you chosed from your test folder / server ? (Full or Upgrade ?)
I chose upgrade
Suspended
Then, you made a mistake somewhere while following the upgrade instructions from the docs folder of the package. Otherwise, it is doubtful a function would be redeclared.
Note: Some files also needs to be deleted (as per accordingly instructed from the upgrade instructions). :wink2:
Zen Follower
so should I restore to the previous week and re do the upgrade? Just to see what's goin on?
Suspended
The best step would be to restore your backup and try again. :thumbsup:
Zen Follower
Ok I give up.... I tried again and I get the same errors.
Now... I went back on a back up .
But I get errors
my control panel works tho. I did try replacing the index.php from a fresh install folder....did not work.
Any ideas? :(
Sensei
View Source in the browser says:```html
<!-- SHTML Wrapper - 500 Server Error -->[an error occurred while processing this directive]
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Zen Follower
Here's the error log:
Sensei
Can you post the top 40 lines of that file:
/includes/classes/categories_ul_generator.php
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Zen Follower
<?php
//
// +----------------------------------------------------------------------+
// |zen-cart Open Source E-commerce |
// +----------------------------------------------------------------------+
// | Copyright (c) 2003 The zen-cart developers |
// | |
// | [url]http://www.zen-cart.com/index.php[/url] |
// | |
// | Portions Copyright (c) 2003 osCommerce |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.0 of the GPL license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available through the world-wide-web at the following url: |
// | [url]http://www.zen-cart.com/license/2_0.txt[/url]. |
// | If you did not receive a copy of the zen-cart license and are unable |
// | to obtain it through the world-wide-web, please send a note to |
// | [email][email protected][/email] so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// $Id: categories_ul_generator.php 2004-07-11 DrByteZen $
// based on site_map.php v1.0.1 by networkdad 2004-06-04
//
class zen_categories_ul_generator {
var $root_category_id = 0,
$max_level = 5,
$data = array(),
$root_start_string = '',
$root_end_string = '',
$parent_start_string = '',
$parent_end_string = '',
$parent_group_start_string = '<ul%s>',
$parent_group_end_string = '</ul>',
$child_start_string = '<li%s>',
$child_end_string = '</li>',
$spacer_string = '',
$spacer_multiplier = 1;
function zen_categories_ul_generator($load_from_database = true) {
global $languages_id, $db;
$this->data = array();
$categories_query = "select c.categories_id, cd.categories_name, c.parent_id
Sensei
Okay - well, I don't see a '.' in there anywhere near line 34.
You could try re-uploading that file in case there are some hidden or corrupted characters in there.
You could also disable the categories_css sidebox in the interim until things are fixed, so that your shop is not offline.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Sensei
The v1.2.x version is in the list here:
https://www.zen-cart.com/archived_contributions/sideboxes/
The v1.3.x version is here:
http://www.zen-cart.com/index.php?main_page=index&cPath=40_52
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Zen Follower
Thank you!
Tell staff why this post should be reviewed.