error when trying to access customers..

This area is devoted to Pending Registration. Please ask questions, report bugs and share ideas here.

error when trying to access customers..

Postby cdcaveman@gmail.com » Mon Aug 20, 2012 8:55 am

Fatal error: Call to a member function getId() on a non-object in /home/blankdea/public_html/app/code/local/Itoris/RegFields/controllers/Admin/Overload/CustomerController.php(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code(1) : eval()'d code on line 99

getting this error when trying to access a customer.. nto sure why... this is the code on that file .. i navigated through the directory structure.. to CustomerController.php

<?php eval(gzinflate(base64_decode("LZjFrsZQcoRfJcpqRl6YSYGRmeE325vIzMx++txIeYGz6FP1VXX/67//819Ls/xbeaXDP+qvnaohPcp/ZOleEtj/FGU+F+U//l1POpnbI0XwA/CJarh+Mo2LC9Yqy70LROrtKbzKkOou+K1ZCSKoqhw8rwoEny07UzAIcwS0RRwh+nLfUEKhAKTdecCHM/EgPgDQz/JoO5B2fg9nCFBHWTDp/K7v7Ybw8z41/B3VBmJ7IZqnFJpunMhRQF1crdY/J7/c2l+22Gy6ZXWm9HqA2Ft33VL5ZD6ocT64n3YvYYIFOJUiLKLnWP7YPhJtZz68vq0PVZKuxe3NeFVpoX/46+pKcDw8S6i+iCk3i4DHGnDD88Bh2H67I6WS+mxeg3i5rQlMCDazck7o9eQITqCVeMgzGmVLeP8E85S0RbwsukhikybR0H0/F0/a0XkFlymFPEi2i5Zc3bvTx0b8fJfiuIwNJ0vHHwaPjkdkLOukGM0nEWOBUpbXz2EDIj4aYDVsrEdQ/HqI5tKXNMMe+Wso/+bsQ9B+cjrS7WW0aBtS3OQla7ZB3lvB/jJGmfO+WuRgxv++BUvL8JjtKjGOehs9bg3sLayTPdETVx+rQDwoWPcw2b0tZZXktWKJMhS2UWSG35y1VoyZCUXDQyd5g4TUhjvk7bZfZyemVZbUGwF8J3xnv9pW3VvpGXQRx/IkNthCOkzMp5VF8NAkvnVhcSKxd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+GHHFSxWT+mGqa7MPuH4VNEcsdR/ovVkLTIyeazLkv2sMLahmAXIN5P+o8I0P5wYk+LaaoVTPbkVxaHGxOwnG+1Cn3kRQGjQGsXsNRALXO6BufnyfsLzQEIbY6nVLTv1RbDQxwbEkkWlq3T3GyI9AGSCGLt3q9Wb2Zk3pc1boULzpgrs9iS9C3ZO+jhwIz9iHiqsPEzRsXuzOGSRIqvr+S7NmfFvDPPHfVt3GUoSWc/lVhg0C0kk7jOxEFOWaRPxpiYUcil9LwGFDGU2NyINvMbIDwqG7KwOYQYR+m8MUWhujwiiEcLcbWJUzvWvQD7tBPBGBO0Gg/s0wVlliSat444yQ7WMEeZGKPolOsn7oAShfQq82FmxLJHnobDpzfs/mDLTzC+FHAEW8WJame9MRTHbbxXqgfWnHShgrPKW6gMlYAjQc8O8cEWtLQcaPxiIdO6uhaJTF5AVGaOWbkwC05X0hprBFiuObPhxcrPZynAa5xbW2BkmsY/r1GCE52gs4V8OxvHLL7EVsCfb/6TLnz5xJrfnD9ZtNyUcXC86f92cCTOI7AGpTtP4Fvoa6hzM/hqoU65t9aepj8io/jix/j+BdWc+LoJsAP68FvG9lYWQ1ayoE/Cehx3iwWJOiew//V/1VfSUe2wEnlxh5swHUG4APvm3eVqM9lA/HgxPi9E50n9THVYCoibJ9bBAxi2NZaovKLyelbkbSKgAQ3yuu+a8UecSX2nXY/tnsdhaafOyIDpvj3Etvv/46itEhKdK53Er7L4xly3K6IwKUT0MkpcncWPwTQ75qz0DoBwY2cUBAAYgAEqwgEaRBk6v/6r3//5z//+R//9q//v0n/Lw=="))); ?>
cdcaveman@gmail.com
 
Posts: 6
Joined: Mon Aug 20, 2012 8:20 am

Re: error when trying to access customers..

Postby cdcaveman@gmail.com » Mon Aug 20, 2012 10:10 am

i figured this one out on my own... turns out.. it was trying to pull a website ID for a Website that didn't exist for the client record. because i've been adding websites to see if for my business model it makes sense to have two websites or just two stores... if you are trying to sell one product with one set of inventory to wholesale and retail clients at different pricing.. i was thinking to have two different websites.. and have subdomains.. wholesale.domain.com points to domain.com and registering the wholesale domain in the admin and as well do the rewrite thing which works.. but still i think i have to get another license for the "store access plug in" if i'm going to do it that way.. cause you can't restrict access across multiple sites it seems if you have store access set up for only one website.. i'm not finished figuring this out... i shouldn't have to have two products and two category roots... this will cause me to have to keep up with two sets of inventory on one product.. i just wanna restrict access to a separate pricing level.. my understanding is the way to do this is with multi store functionality in magento... two stores.. restrict access via store access control plug in and pending registration plug in.. retail store is wide open.. customer is either a wholesale and can log into that site.. or a retailer and can log into that site respectively... its not smart enough to direct the wholesale customer to the wholesale site no matter where he logs in.. STUPID... once a customer registers as a wholesale customer type they shouldn't have to be navigating to get to their "correct site" to log in... correct me if i have this interpreted wrong.. but this was so much easier when i just coded it from the ground up even though i thought that would take longer then this! this is obviously a process to automate the wholesale registration process as much as possible.. and to control whats displayed to different customer types wholesale/retail based upon if they registered as a wholesaler.. if they are a wholesaler.. they should just log in.. and bam no matter what site they are on it navigates them to the right one.. like hey i'm joe smoe i register as a wholesaler then try to log in to the retail site.. and i'm so confused.. is there another site or should i contact the company.. i thought i went through filling out all this information online and it would be smooth.. "no sir there is actually two sites.. you have to go to wholesale.domain.com and log in their because we don't have the programming down enough to make it as easy as it could be for you.. we are sorry" i'm a little frank.. but those are my thoughts :)
cdcaveman@gmail.com
 
Posts: 6
Joined: Mon Aug 20, 2012 8:20 am

Re: error when trying to access customers..

Postby cdcaveman@gmail.com » Mon Aug 20, 2012 10:14 am

by the way... i've heard so many people frustrated with the multistore set up process.. its a crash waiting to happen.... you basically create a new store or website.. and then as you create more if you delete any of the orginals .. your customers will no longer be associated with any websites.. nor your pages.. nor your blocks.. nor anything... yoru site will break and you'll be left trying to revert back your DB and find out that your hosting company doesn't support INNODB engined mysql DB's goodluck start correcting all the db records yourself! this has to be the buggyest part of Magento... If your going to have a wisywig type multistore functionality you should definitly have the logic such that you can't corrupt all your records in such a way that everything decouples like that... JUST SAYING ITS 2012
cdcaveman@gmail.com
 
Posts: 6
Joined: Mon Aug 20, 2012 8:20 am

Re: error when trying to access customers..

Postby cdcaveman@gmail.com » Wed Aug 22, 2012 9:24 pm

remember if you delete your orginal store your customers are associated with you will de couple them from being under any store and you won't be able to access them via the back end admin section of magento... i went into myphpadmin and changed all the values with an update statement...
cdcaveman@gmail.com
 
Posts: 6
Joined: Mon Aug 20, 2012 8:20 am


Return to Pending Registration

Who is online

Users browsing this forum: No registered users and 1 guest

cron