Guest toppair Posted July 26, 2005 Share Posted July 26, 2005 I upload the files and everything went fine. When I go to mydomain.com/store I get a internal server error. I have other things working with php and MySql like forms and things and they work fine. What is the difference? If I go direct to a page in that folder I get the same error. Quote Link to comment Share on other sites More sharing options...
Guest imfguy Posted July 28, 2005 Share Posted July 28, 2005 Rats, wouldn't you know it. The same problem as I have, and no answer to this post after two days. Here's my error: The server encountered an internal error or misconfiguration and was unable to complete your request. I have installed this manually, as I get the same error trying to install it automatically. I have installed it on two different websites, to no avail. I am certain the paths are right, and I have double checked everything. On the first site, I have deleted all attempts and installed version 2.0.7 via Fantastico, works fine. Any clues on this error? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 28, 2005 Share Posted July 28, 2005 Hm - the same problem here: 500 internal server error. Version 2 ran without a problem on the same server. Unfortunately I cant find an errorlog on this new host's directories. Maybe one of you guys has access to his account's error logs and look up what it says? Wolfgang Quote Link to comment Share on other sites More sharing options...
Guest imfguy Posted July 28, 2005 Share Posted July 28, 2005 Okay, I found the answer to the 500 internal server error in another part of this forum. It seems to be to delete the .htaccess file from the directory that the cubecart is uploaded to. I did and now I'm past that error. Let me know if that works for you. Now I have a mySql error, "MySQL Error Occured 1044: Access denied for user '*******'@'%' to database '********'" (I used stars here to replace valid data), which I am now tracking down. More later! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2005 Share Posted July 29, 2005 that's it - many thanks. Removing .htaccess made it work. The rest was very simple here. Everything is working now. Maybe you filled in the username of your db in the db-name field and vice versa - at least I have done this mistake repeatedly. Thanks once more - I didn't find the 500 error handled here elsewhere. Wolfgang Quote Link to comment Share on other sites More sharing options...
Guest imfguy Posted July 29, 2005 Share Posted July 29, 2005 Okay, here's my follow up for the mySQL error... the permissions to create a database at my site's host, PowWeb, belong to the ops center username, not the database username. People using cpanel at a "sane" hosting company like Lunarpages never have to deal with this. PowWeb has apparently homegrown their ops center, and their mySQL servers are separate from the server where your site resides, which is separate from the server where the ops center resides. You create your database from the ops center, under your main username and password, and you assign users to the database from the ops center. The ops center decides which server your database will reside on... a name like mysql01.powweb.com or something like that. To make a long story short, I stopped troubleshooting this problem when I was going through the code trying to figure out what operation was being attempted that my database username had no priveleges for, since the database username had priveleges for everything except creating another database, an insane downward spiral if I ever saw one. I put the cube_cart 3 on another website that I have hosted at Lunarpages, where they have a nice comfortable cpanel and my username is my username is my username, and the database is located on localhost, just the way cube_cart likes it, and the database username is not limited even though it has all possible priveleges. I deleted the .htaccess file once again, and I am up and running in approximately 5 minutes from the time I typed in the url where I had uploaded cube_cart's files! Now that's one for the brookmeister. I don't think this product can be hosted on PowWeb, 'cause somewhere between the 3 servers and the 2 different usernames, the code is asking for something that the PowWeb ops center won't allow it's database username to do, and I am not going any further with this mess than that. All you people with 1044 mySQL database errors, look to your web hosts! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2005 Share Posted July 29, 2005 Yes, I have several pages at lunarpages and it works always smoothly. But cubecart is now running on livehost.com - which seems good as well. Wolfgang Quote Link to comment Share on other sites More sharing options...
Guest imfguy Posted July 29, 2005 Share Posted July 29, 2005 Yes, I am certain that any host running cpanel and putting their sql server on localhost, where the database user has all priveleges necessary, would work with cube_cart 3. I would love to find out what brooky learns about interacting with some of the others, though, as v 2.07 worked fine on all my web hosts, and 3.01 seems to be pretty "choosy" about where it will run. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2005 Share Posted July 29, 2005 I have installed cubecart for the first time - I have worked with shopfactory a lot and with x-cart - both are fine for their purpose. Cubecart seems to be quicker in loading. What I wonder is: why does cubecart rely on enabled javascript? I believe this will cause many problems with cutsomers being unable to use the cart. And I see no alert telling people to wsitch on javascript in their browser. But, why at all, using javascript when you have a php cart ?? Remains enigmatic for me. Any comments on that issue? Quote Link to comment Share on other sites More sharing options...
Guest imfguy Posted July 29, 2005 Share Posted July 29, 2005 Brooky will have to talk to us on that one, but I do have a generic javascript/php comment that may help in answering your question. PHP is completely "rendered" into html on the server side, then sent to the browser (along with any javascript) with the page no longer able to process php. That is considered "server-side" processing. JavaScript only processes in your browser, where it can interact with HTML in a "client-side" scenario. A good example of why one would use both is in form processing. Forms can be built using php variables on the server, but are turned (rendered) into html and sent to the browser (if you "view source" in your browser on a php page from a website, you will never see any php code). In the browser, javascript functions and html can be used interactively to validate fields, as an example, sending the user back to an improperly filled in field without ever leaving the page, certainly without posting to another page and telling the user to hit the back button to fix the error. HTML cannot do this by itself, and PHP or HTML would have to post the form to another page to check the form entries. This is just an example of javascript/php (same for javascript/asp) interaction that makes for a better user experience. While I haven't been into the brookmeister's code too deeply, it is well-written and I can almost guarantee that would be one of the reasons he uses javascript. Now we are beyond the scope of this installation thread and should probably post in a more appropriate category that deals with using the product. I can almost guarantee that you will get more appropriate answers there from the "ones who know". Been great chatting with you. Glad we're up and running with our installs. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 3, 2005 Share Posted August 3, 2005 Yes, that's right. Javascript is great for form handling etc. But why use javascript for putting an item into the basket? Amount '1' is default anyway. And there are always people who don't know that the other user of their machine has turned off javascript without alert. Yes thanks for your help here. I'll screen the other parts of this forum in order to find my answers. Thanks. Wolfgang Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.