Jump to content

Trickster61

Member
  • Posts

    18
  • Joined

  • Last visited

Everything posted by Trickster61

  1. Thanks for your input. I'll just wait until I see what the webhosts come back with, and if no joy I might just wipe everything and start from scratch - or pay someone to as I'm still unsure of how to do that. Hopefully reinstalling the Home Directory backup will allow me to put our existing files back up without problems. Otherwise it's going to be a long weekend of manually putting 12 pages of product back up, but we'll do it if it's better in the long run, and I suspect it might be. Thanks again!
  2. I can edit the admin users now, but none of the suggestions above seem to have allowed me to log in, nor the instructions on the knowledge base. I am mystified. Time to get the webhosts involved methinks. I'm thinking about a full reinstall, and I know how to do that, but will that fix the database issues as well? Like are all the databases part of the files I can see in the Cpanel file manager, or are they elsewhere?
  3. I can't seem to figure out how to edit the Cubecart_admin_users table in phpMyAdmin, there's no obvious edit icons or ability to select a row / particular admin user. I think I'm going to do a full reinstall.
  4. I can't login as admin to my recently migrated cubecart. The Knowledgebase tells me what I have to do, and says "make the following changes"... How do I edit Cubecart_admin_users exactly? I've fired up phpMyAdmin, browsed to where the cubecart_admin_users table is, and now I'm not sure what to do. I can click the edit button and get a window as seen in the attached image, but now what? If I click on "password" it just puts the word "password" wherever the cursor is. Just need a step by step guide for a newbie to edit the table with phpMyAdmin as per the Knowledgebase article - or any other way to edit it, even if it's with something else. Just to clarify, there's no obvious way to select a row (to edit one particular admin), and now pencil icon or anything to let me edit a row or column. There is also this message at the top: "Current selection does not contain a unique column. Grid edit, checkbox, Edit, Copy and Delete features are not available." Thanks in advance!
  5. It seems I have two databases, one called (website name)_cc4 and one called (website name)_cubecart. The _cc4 database has CubeCart_code_snippet, and it's cubecart_admin_users table has admin_id, salt, super_user. The _cubecart database admin_users_table does not have CubeCart_code_snippet and has adminid and isSuper in the cubecart_admin_users table. The opposite way around than I would have thought. Could it be an error when the database was transferred over? Am I just reading it wrong? My plan will be - try amending the cc4 admin_users_table as described in the knowledgebase and see if that works and allows me to log in. If it doesn't maybe try swapping the names over of the two tables if it can be done. Actually that sounds dangerous, maybe not. I guess contact the host and see if they can help.
  6. So we're on the new host website, but we can't login as admin. I get no error message when I try, it just wipes the username/password I entered. I tried the reset password option and no email is forthcoming. I tested the new email and it seems to work. I've looked in the forum and there is some instructions about using PHPMyAdmin to edit CubeCart_admin_users . I gave it a go but the columns mentioned there (salt, new password, status) do not appear. Are there any updated instructions about this?
  7. Thanks, as it turns out we've already taken steps to do that as we're not happy with the web host we have, certainly not with their support. So my cunning plan for the new webhost is: Plan A. Just migrate over everything in its entirety to the new webhost. Sorting out domain stuff at the same time. If I still have problems, go to Plan B: PLAN B! (works better with some kind of montage, but just imagine it). Do a full backup (just in case) on old webhost, then back up Home Directory in cpanel Install Cubecart on new webhost. Apply key registration Restore Home Directory to upload images and documents. All problems solved and everyone is happy. I'll let you know how it goes.
  8. Due to constant PHP error messages, and the website constantly giving "this webpage is not available" (details on Chrome gives ERR_CONNECTION_REFUSED) messages to customers and us, I've decided perhaps the best option is to do a fresh install and load on our documents and images. I've spoken to tech support from our webhost and they say its our problem. So, I can do a Full Backup, or a Partial Backup of Home Directory, MySQL Database, and/or email forwarders and filters. What is the best way to accomplish this if I do it myself? Is there something tricky I should be aware of? I've had a scour of the forums and nothing seems to exactly answer my questions. I only have one plugin/hook which disables customers on registration (as a way of checking a wholesaler's credentials before they start buying) which is easily installed. My current version of Cubecart is 5.2.13. So this is how I'm thinking it will go: 1. Full backup, followed by a Home Directory backup (this will include all images and documents I hope). 2. Manually wipe off everything in public_html. 3. Clean install of latest version. 4. Apply CC bought key registration thingy. 5. Restore Home Directory to get images and documents back on, and install my one and only plugin. 6. All problems solved and everyone is happy, especially my wife who lets me play World of Tanks for the evening as a reward. I'm open to other ideas. I've tried resolving some of the PHP errors using the forum but I'm wary of testing the patience of those willing to respond to my seemingly endless list of errors from the error log. Thanks in advance!
  9. I'm leaning towards ignoring it. It's the only error message I'm getting at the moment. Thank you for your help - again!
  10. Damn should have picked that up, for some reason it was in my head all server times would be the same, but the evidence was in front of my nose. ok so with one exception there was a 3 second or less delay each time from the Raw Access Log entry to the Error Log. The error log entries were all the same, bar the times - [14-Oct-2014 07:36:08 Australia/Perth] PHP Warning: No callback method defined. in /home/you32903/public_html/classes/cubecart.class.php on line 25 So these two entries in the Raw Access Log preceded the first error of the day by three seconds: [14/Oct/2014:00:11:12 +1100] "GET /images/cache/YCW4008_arrows_curved.116.jpg HTTP/1.1" 200 4384 "-" "Googlebot-Image/1.0" 183.60.215.45 - - [14/Oct/2014:00:11:59 +1100] "GET /index.php?_g=co&_a=reg&redir=%2Findex.php%3F_a%3DviewProd%26productId%3D341 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; EasouSpider; +http://www.easou.com/search/spider.html)" 183.60.213.7 - - The following two Raw Access Log entries preceded the second Error Log message by three seconds: [14/Oct/2014:10:36:05 +1100] "GET /robots.txt HTTP/1.1" 200 81 "-" "Mozilla/5.0 (compatible; Exabot/3.0 (BiggerBetter); +http://www.exabot.com/go/robot)" 178.255.215.88 - - [14/Oct/2014:10:36:05 +1100] "GET /index.php?_g=co&_a=cart HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; Exabot/3.0 (BiggerBetter); +http://www.exabot.com/go/robot)" 178.255.215.88 - - The following Raw Access Log entry preceded the third Error Log message by two seconds: [14/Oct/2014:15:52:46 +1100] "GET /index.php?_g=co&_a=reg&redir=%2Findex.php%3F_a%3Dtellafriend%26productId%3D725 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; EasouSpider; +http://www.easou.com/search/spider.html)" 180.76.6.56 - - The following Raw Access Log entry preceded the fourth Error Log message by two seconds: [14/Oct/2014:18:08:29 +1100] "GET /index.php?_g=co&_a=reg&redir=%2Findex.php%3F_a%3DviewProd%26productId%3D728 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; EasouSpider; +http://www.easou.com/search/spider.html)" 66.249.69.109 - - The following Raw Access Log entry was at exactly the same time as the fifth and last Error Log message: [14/Oct/2014:19:39:23 +1100] "GET /index.php?_g=co&_a=reg&redir=%2Findex.php%3F_a%3DviewProd%26productId%3D111 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; EasouSpider; +http://www.easou.com/search/spider.html)" 66.249.69.109 - - So if I'm understanding this right these are indexing bots acting on behalf of a (chinese?) search engine called Easou. From what I've read the Easou search spider doesn't bother accessing the robots.txt file as a courtesy to see if it's disallowed from doing so. Is there a way to block it? Do I even need to bother?
  11. This error has replicated four times today (14 Oct) at 07.36.08; 12.52.48; 15.08.31; and 16.39.23. I looked for any index.php?_g= entries in the Raw Access Log that corresponded with the error message times, there were five but they weren't around the times of the error message. In fact there weren't any entries in the Raw Access Log at all for those exact times. I've taken the last two and provided the error message followed by the closest entries in the Raw Access Log. The middle two error messages and their closest entries in the Raw Access Log are as follows: [14-Oct-2014 12:52:48 Australia/Perth] PHP Warning: No callback method defined. in /home/you32903/public_html/classes/cubecart.class.php on line 256 The two closest entries in the Raw Access Log either side of the above time are: [14/Oct/2014:12:45:02 +1100] "GET /index.php HTTP/1.1" 200 3499 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 180.76.6.142 - - and [14/Oct/2014:12:54:37 +1100] "GET /index.php?_a=login&redir=%2Findex.php%3F_a%3Dtellafriend&productId=422 HTTP/1.1" 200 3130 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" 199.30.24.231 - - Next error message was : [14-Oct-2014 15:08:31 Australia/Perth] PHP Warning: No callback method defined. in /home/you32903/public_html/classes/cubecart.class.php on line 256 The two closest Raw Access Log entries on either side of that time are: [14/Oct/2014:15:06:54 +1100] "GET /index.php?_a=viewProd&productId=628 HTTP/1.1" 200 2859 "-" "Mozilla/5.0 (compatible; EasouSpider; +http://www.easou.com/search/spider.html)" 180.76.5.143 - - and [14/Oct/2014:15:08:58 +1100] "GET /index.php?_a=viewProd&productId=675 HTTP/1.1" 200 2861 "-" "Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html)" 183.60.213.7 - - There were five index.php?_g= entries in the Raw Access Logs but were not made at around the times of the errors (00:11:59; 10:36:05; 15.52.46; 18.08.29; 19:39:23). They were all index.php?_g=co. Here's an example of a couple. [14/Oct/2014:15:52:46 +1100] "GET /index.php?_g=co&_a=reg&redir=%2Findex.php%3F_a%3Dtellafriend%26productId%3D725 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; EasouSpider; +http://www.easou.com/search/spider.html)" 180.76.6.56 - - and [14/Oct/2014:18:08:29 +1100] "GET /index.php?_g=co&_a=reg&redir=%2Findex.php%3F_a%3DviewProd%26productId%3D728 HTTP/1.1" 302 20 "-" "Mozilla/5.0 (compatible; EasouSpider; +http://www.easou.com/search/spider.html)" 66.249.69.109 - - I don't know if any of that is helpful or not. Hopefully it is. Like anyone with an online business I'm worried its something that will cause us to lose customers because their browser errors out or can't complete a shopping transaction. thanks!
  12. Unfortunately the raw access log from yesterday is gone, the default setting is not to save it daily. I'll just have to wait for the error to repeat and then check the raw access log. I've changed the settings so it archives the daily logs and deletes them at the end of the month instead of daily. One step closer. Thanks!
  13. So if you could help me with this one I'd be grateful for any pointers. [13-Oct-2014 04:55:53 Australia/Perth] PHP Warning: No callback method defined. in /home/you32903/public_html/classes/cubecart.class.php on line 256 Easy fix or massive problem? Or not enough info? Line 256 = trigger_error('No callback method defined.', E_USER_WARNING); Thanks in advance!
  14. Thanks! I've put that in. You are the hardest working, on the ball, forum trouble shooter I've ever experienced.
  15. Hiya, I have Cubecart 5.2.12 In the error log in Cpanel I'm seeing this series of errors over and over. I guess I want to know if this is an easy fix or should I submit a ticket or hire a freelancer? I don't think I've ever edited these files. I've looked at dashboard.index.inc.php on line 243 and I'm clueless because I know nothing about PHP. Thanks for looking. [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : Space required after the Public Identifier in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt; in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : SystemLiteral &quot; or ' expected in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt; in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 1: parser error : SYSTEM or PUBLIC, the URI is missing in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML 2.0//EN&quot;&gt; in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 243 [12-Oct-2014 09:10:44 Australia/Perth] PHP Warning: String could not be parsed as XML in /home/you32903/public_html/admin/sources/dashboard.index.inc.php on line 259 This is line 243 in dashboard.index.inc.php if it's any help: if (($data = new SimpleXMLElement($response)) !== false) { I'm kinda thnking the line 259 is the code that generates the error message: trigger_error($e->getMessage(), E_USER_WARNING); Regards, Rick
  16. Hi all, We are starting a wholesale business, so we'd like customers to register but only if the have a valid ABN/business number. We're not live yet, but hopefully soon. At the moment if we were to go live anyone could register, by putting in a bogus business number and start shopping immediately (we added an ABN/business number and business name field in the registration page). We've also hidden prices for non-registered visitors. What would our options be? Is there a way the registration form could be an email form and they send their registration details to us and then we manually register them after checking their bona fides? Or can I somehow remove the standard registration page and get them to just email their details via a link on the homepage or via a different registration page, maybe a document page? We're running version 5.2.12 Thanks in advance! Rick
×
×
  • Create New...