View Full Version : Having Nightmares with the Cart!
mhough
May 20th, 2005, 11:21 AM
OK,
First of all I could not create a sc_backup in the root folder, Globat wouldnt let me (I even asked).
So I put it in my main folder (httpdocs) and made a folder in there called store.
So sc_backup is now at httpdocs, and the store is in httpdocs/store
I chmoded everything correctly,
Edited the config.php correctly,
And am STILL having problems.
Globat hasnt helped me at all so far (And it takes them forever to answer)
I think I will get a faster answer here.
I crated the SQL database, and uploaded the squirrelcart.sql into it.
The import_db.php file should be at http://www.m-n-mhumidors.com/store/squirrelcart/import_db.php
But obviously its not working, take a look at the error.
Line 63 in config.php I had to alter to show the right path, but It still did not work. I have :
include "m-n-mhumidors.com/httpdocs/store/squirrelcart/cart.php";
as that line.
Line 13 in import_db.php reads:
$tables = get_tables($db);
I have not touched that file.
So what is wrong with this portion of it?
Do I even need to do this import database, since I have already put the database into my databases area on Globat?
Now, as for the store thing.
It should be at http://www.m-n-mhumidors.com/store/store.php
Again, line 63 up there.
Line 9 in store.php reads <!!!? stylesheet("store.css"); ?>
Without the 3 !!! in there of course.
So can you help me?
Rich
May 20th, 2005, 01:17 PM
Hello,
Let's break down the first error message that you're seeing. There are two main parts to the message, each is highlighted in a different color below.
Warning: main(m-n-mhumidors.com/httpdocs/store/squirrelcart/cart.php): failed to open stream:
No such file or directory in /usr/local/psa/home/vhosts/m-n-mhumidors.com/httpdocs/store/squirrelcart/config.php on line 63The first part tells us that the file specified by the path in the bolded blue text cannot be found (the server "failed to open" the path). The second part, in bolded red text, tells us the ACTUAL path that the server is using when trying to locate the file. As you can see, these two paths are different.
This tells me that you currently have the $site_isp_root variable in the config.php file set like this:$site_isp_root = "m-n-mhumidors.com/httpdocs/store";When it should probably be set like this:$site_isp_root = "/usr/local/psa/home/vhosts/m-n-mhumidors.com/httpdocs/store";Try making this change and let us know how you make out.
mhough
May 20th, 2005, 02:11 PM
It looks as if it didnt work.
Check it out, its the same error message.
Rich
May 20th, 2005, 02:55 PM
You modified the last line in the config.php file. It should read:
include "$site_isp_root/squirrelcart/cart.php";and you changed it to:
include "m-n-mhumidors.com/httpdocs/store/squirrelcart/cart.php";So, regardless of what the $site_isp_root variable was changed to, the cart was continuing to load the squirrelcart/cart.php file using the incorrect path.
I also changed your $site_www_root and $site_secure_root variables as they were missing the /store from the end or your cart's URL.
mhough
May 20th, 2005, 03:00 PM
OK I think it is working, let me see how far I can go before I run into another problem....
Thanks.
mhough
May 20th, 2005, 03:04 PM
http://www.m-n-mhumidors.com/store/store.php
That is the link to my storefront.
I guess it is working, Everything has tested out OK on the installation part of it.
Do you see any errors?
I tried clicking the "More details" on the TV item, but it said file not found.
I do not know if this is because you dont include all the details or not.
Rich, do you see any problems, or am I done with the installation now?
mhough
May 20th, 2005, 03:10 PM
I did have some more questions.
#1 How do I make it secure?
http://www.m-n-mhumidors.com/store/ If you click there, you see the entire index of the thing, not a good thing...
#2 How do I get to admin mode?
Rich
May 20th, 2005, 03:18 PM
I tried clicking the "More details" on the TV item, but it said file not found.This happened because the settings that I just changed for you on the $site_www_root and $site_secure_root variables were changed back to their previous values.
I don't know if you changed them again or not, but as of my writing this, your config file is once again set correctly. I'd recommend that you don't change anything in it.
One thing that I just noticed is that the location on your server for secure files is different from the location for non-secure files (i.e. httpdocs vs. httpsdocs). Squirrelcart will not operate properly with this configuration. There are a few solutions...
1) Copy your entire Squirrelcart installation into the httpsdocs directory on your server and maintain two copies of the software (NOT recommended)
2) Move your entire Squirrelcart installation into the httpsdocs directory on your server and run the cart via a secure URL at all times (Recommended)
3) Transfer your domain name to a web host that does not use this configuration (host recommendations available)
Your best bet for now would be option 2. If you'd like more information on this, open a help desk ticket and we can go into further detail.
mhough
May 20th, 2005, 03:20 PM
OK I can put it all into https.
I didnt wait long enough before viewing it, so it now looks like it is supposed to.
Do you see any errors?
mhough
May 20th, 2005, 03:42 PM
Um something happened.
I transfered everything over to the httpsdocs, and took everything off the httpdocs.
I also renamed store.php to index.php
https://www.m-n-mhumidors.com/
That WAS working before I took the http files out.
What did I do?
I doublechecked everything and dont know what is wrong.
mhough
May 20th, 2005, 03:54 PM
OK I fixed the installation problems now.
Rich
May 20th, 2005, 04:06 PM
The following would have been posted around 2:20, but the wonderful people at Cox.com decided it would be nice to have a network outage.
__________________________________________________
You're replying faster than I can describe what is happening! :p
I did have some more questions.
#1 How do I make it secure?
http://www.m-n-mhumidors.com/store/ If you click there, you see the entire index of the thing, not a good thing...
#2 How do I get to admin mode?1) This is more of a sever issue, rather than a Squirrelcart issue. It's related to the way your server is configured. Any of these options will corrrect it: Create an .htaccess file that disables directory listings Create an .htaccess file that tells the server to try an load store.php as if it were an index.* file Rename store.php to index.php, and update the config.php file to reflect the change.2) Login using the default username/password of admin/password and click the Edit Records link. You can also access the control panel directly using the following url: http://www.m-n-mhumidors.com/store/squirrelcart/index.php
Rich
May 20th, 2005, 04:08 PM
OK I fixed the installation problems now.Cool! Let us know if you need anything else.
mhough
May 20th, 2005, 04:12 PM
I have one comment though (And one reason why I would NOT suggest Squirrel Cart) is because the admin can only be used in IE, not mozilla or anything...
Anyway...
Check out my other post (the one about https)
Rich
May 20th, 2005, 04:15 PM
the admin can only be used in IE, not mozilla or anything...Not true in v2.0.0. :squirrel:
mhough
May 20th, 2005, 04:23 PM
I got a promt that said it requires IE 5 or higher for the java script part (whatever part that would be)
Rich
May 20th, 2005, 04:44 PM
Perhaps I could have rephrased that... I was referring to the next release of Squirrelcart which will be v2.0.0 (currently released version is v1.6.0).
In the next release, all of the major browsers are supported.
pbxcom
May 20th, 2005, 06:25 PM
It appears that Rich has done a good job of helping you out, mhough, so I hate to interupt here. But I do have one sugestion for you, and maybe a resource for others. Back when I was researching web hosting providers I ran accross this site www.webhostingtalk.com. There is a large number of post there that just bash Globat top to bottom I do not think there is one good post about them. I would recommend doing some home work, using www.webhostingtalk.com, and find a new host and seeing as Globat offers a 30 day money back guarantee I would say dump them like yesterdays garbage. I personally recommend finding a host that uses Linux (not windows) as there OS and provides "Cpanel" ( www.cpanel.net ) as there web site administation interface. You will also find that most are cheaper that Globat and have better customer service.
Rich
May 20th, 2005, 06:33 PM
so I hate to interupt hereDon't think twice about it! Interupt as often as you like! :squirrel:
You bring up some very valid points, and I would have to agree with everything you said.
For those that are interested, we currently use Hosting Matters (http://www.hostingmatters.com) and they have provided us with fantastic service since the day we moved all of our sites to them. Like you suggested, they use Linux and cPanel, and since Squirrelcart is developed on their servers, it's pretty much a guarantee that it will always work there.
pbxcom
May 21st, 2005, 02:12 AM
I guess I should have pointed out this post http://www.ldev.com/forums/showthread.php?t=1423 earlier inreguards to this matter. I would only add one thing to that post. Beside www.lunarpages.com and www.emaxhosting.com I have found that www.incognitonetworks.com is another excelent hosting option.
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.