Link to home
Create AccountLog in
Avatar of Mario Zio
Mario ZioFlag for Italy

asked on

magento configuration problem Error record number: 459714890

Hello,

there is a never ending story with magento. I've tried to create a new shop going under System/Manage shops,but it has crashed and now I don't know how to make it running again :
the error code is :

There has been an error processing your requestException printing is disabled by default for security reasons.

Error log record number: 459714890
Avatar of miked2004
miked2004
Flag of United States of America image

1. The error logs are stored in /var/report

to display the errors or have it email the error message to you, you need to go to the folder /errors

and copy the file named local.xml.sample and rename it to local.xml.

This will print the errors to the screen.

If you are only making 1 store then it is allready set up and you dont need to do anything under manage stores.

But see what the error was and I will help you.
Avatar of Mario Zio

ASKER

This is the content of the file called : 459714890

a:5:{i:0;s:69:"Invalid method Mage_Wishlist_Block_Links::addWishlistLink(Array
(
)
)";i:1;s:2100:"#0 [internal function]: Varien_Object->__call('addWishlistLink', Array)
#1 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Model/Layout.php(347): Mage_Wishlist_Block_Links->addWishlistLink()
#2 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Model/Layout.php(213): Mage_Core_Model_Layout->_generateAction(Array, Array)
#3 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#4 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Model/Layout.php(209): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#5 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Controller/Varien/Action.php(343): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#6 /home/youeswap/public_html/mage/app/code/core/Mage/Cms/Helper/Page.php(110): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#7 /home/youeswap/public_html/mage/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage()
#8 /home/youeswap/public_html/mage/app/code/core/Mage/Cms/controllers/IndexController.php(45): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'home')
#9 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Cms_IndexController->indexAction(Object(Mage_Cms_IndexController), 'home')
#10 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch()
#11 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match('index')
#12 /home/youeswap/public_html/mage/app/code/core/Mage/Core/Model/App.php(304): Mage_Core_Controller_Varien_Front->dispatch(Object(Mage_Core_Controller_Request_Http))
#13 /home/youeswap/public_html/mage/app/Mage.php(596): Mage_Core_Model_App->run()
#14 /home/youeswap/public_html/mage/index.php(80): Mage::run(Array)
#15 {main}";s:3:"url";s:16:"/~youeswap/mage/";s:11:"script_name";s:25:"/~youeswap/mage/index.php";s:4:"skin";s:7:"default";}

and the error is diplayed here :

http://208.53.158.14/~youeswap/mage/

What I was trying to do is to make two "shops" inside the same e-store. This is because I can sell only some kind of products and not others. For this reason I need to have a paypal account only for me and the other paypal account is for the boss of the shop where I work. He wants to sell hardware products,I can sell only software.
1. when did this start? was it right after creating a new store? did you edit something before this happened?


2. it appears that the method addWishlistLink() no longer exists in Magento Version 1.4.2. So I am assuming that this site is the upgraded site. Make sure that any wishlist layout file(wishlist.xml) being used is an updated version(1.4.2 version). I assume it is in the /app/design/frontend/base/default/layout folder.

on the mage folder there is the 1.4.2.0 version. This is the wishlist.xml file :

<?xml version="1.0"?>
<!--
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     base_default
 * @copyright   Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

-->
<layout version="0.1.0">

<!--
Default layout, loads most of the pages
-->

    <default>

        <reference name="top.links">
            <block type="wishlist/links" name="wishlist_link">
                <action method="addWishlistLink"></action>
            </block>
        </reference>

        <!-- Mage_Wishlist -->
        <reference name="right">
            <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml"/>
        </reference>

    </default>

<!--
Customer account pages, rendered for all tabs in dashboard
-->

    <customer_account>
        <!-- Mage_Wishlist -->
        <reference name="customer_account_navigation">
            <action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
        </reference>
    </customer_account>

<!--
Customer account home dashboard layout
-->

    <customer_account_index>

        <reference name="right">
            <action method="unsetChild"><name>wishlist</name></action>
        </reference>
    </customer_account_index>

<!--
Wishlist pages
-->

    <wishlist_index_index translate="label">
        <label>Customer My Account My Wishlist</label>
        <!-- Mage_Wishlist -->
        <update handle="customer_account"/>
        <reference name="my.account.wrapper">
            <block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml"/>
        </reference>
        <reference name="right">
            <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
        </reference>
    </wishlist_index_index>

    <wishlist_index_share translate="label">
        <label>Customer My Account Wishlist Sharing Form</label>
        <!-- Mage_Wishlist -->
        <update handle="customer_account"/>
        <reference name="my.account.wrapper">
            <block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
        </reference>
        <reference name="right">
            <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
        </reference>
    </wishlist_index_share>

    <wishlist_shared_index translate="label">
        <label>Customer Shared Wishlist View</label>
        <!-- Mage_Wishlist -->
        <reference name="content">
            <block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml"/>
        </reference>
    </wishlist_shared_index>
</layout>
What you posted is not Magneto 1.4.2, so if that is in you 1.4.2 version then you did not upgrade successfully/correctly.

This is the correct file for magento 1.4.2: http://svn.magentocommerce.com/source/branches/1.4/app/design/frontend/base/default/layout/wishlist.xml


This site is running 1.4.2 correct?
If so you need to ensure that you have updated all your files.
I've tried to upload again the design folder,taking a fresh version on the magento 1.4.2 installation,but it does not work. I'm thinking to remove the whole 1.4.2 folder and keep only the 1.4.1. What about to make two "shops" inside the same e-store ? As I've said,I would like to do this because I can sell only some kind of products and not others. For this reason I need to have a paypal account only for me and the other paypal account is for the boss of the shop where I work. He wants to sell hardware products,I can sell only software tools.
ASKER CERTIFIED SOLUTION
Avatar of miked2004
miked2004
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Now I have no time to reinstall magento 1.4.2. The 1.4.1 version is working good. Instead I've created a new Site/Shop/Shop windows,but where is it visible ? Check here :

http://208.53.158.14/~youeswap/ecommerce/

I'm thinking if a better choice could be to create two magento e-shop,not one inside another and make the user's choice which one is more useful for them. If they want to buy a software or hardware products.
Immagine.jpg
You need to set up a new vhost record for the new site.

Here are instructions: http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/navigation/multiple-website-setup
Sincerely which kind of differences there are between run multiple websites in one Magento 1.4 single installation and install magento in two different folders using two databases ?
Only difference is having any code changes it two places.
Oh, also you would need to create products/categories on each one. inventory cant be managed between two separate installs.
can you tell me into which file are stored the database name/password of the magento installation ?
app/etc/local.xml
Almost done. Going here,you have access to two magento's e-stores,depending what you need :

http://208.53.158.14/~youeswap/

the last problem to solve is related to :

http://208.53.158.14/~youeswap/magento/

becase the main logo image and the pictures located at the left of the screen are missing.
1. Your two stores are using two different versions of magento. Was this intentional?
2. Your Homepage and/or templates are still messed up.
-- the homepage is controlled by the CMS Pages area. You have either changed the page layout or changed the design XML data.
Thanks. I've fixed everything.