Tips and Tricks HQ Support Portal › Forums › Simple PayPal Shopping Cart › Simple shopping Cart Troubleshooting › Simple Shopping Cart Installation Related
Tagged: e-commerce, PHP Session, simple paypal
- This topic has 14 replies, 7 voices, and was last updated 12 years, 6 months ago by Natalie.
-
AuthorPosts
-
October 11, 2009 at 5:54 am #367amin007Participant
Post any Simple Shopping Cart Installation Related issues here
November 24, 2009 at 6:38 pm #15689KevoMemberHi,
When I activate the shopping cart in WP [2.8.6. ] I get the following code appearing at the top of every page on http://www.mcsherry.ie :
Warning: session_start(): open(E:php_sessionssess_409e8c3488479755b5e973f0c3199c2d, O_RDWR) failed: Permission denied (13) in E:hshomekevin897mcsherry.iewp-contentpluginswordpress-paypal-shopping-cartwp_shopping_cart.php on line 22
Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at E:hshomekevin897mcsherry.iewp-contentpluginswordpress-paypal-shopping-cartwp_shopping_cart.php:22) in E:hshomekevin897mcsherry.iewp-contentpluginswordpress-paypal-shopping-cartwp_shopping_cart.php on line 22
I contacted my hosting service who say that I’m using PHP v5 and suggested that there might be a problem with the plugin code:
This is what they wrote:
>>Further to our conversation, I have had another look into this with a colleague and we have spotted a problem with the plugin that is giving the errors.
The first error that is visible relates to the PHP command ‘session_start()’. This command needs to be right at the start of the file that is using it so that it is the first thing being executed. If it isn’t at the start then it will cause errors like this.
We don’t support scripting issues so I cannot advise exactly how to fix this. If you are not comfortable making changes to the script yourself then the recommendation that I would give to resolve this is to either contact the author of the script to check it over or to use a different plugin.
Should you require any further assistance, please feel free to contact us.
Kind Regards,<<
Logically, this can’t be right as I presume that this plugin is working fine elsewhere on other people’s web sites.
I hope somebody might be able to help.
Best regards, Kevin
November 24, 2009 at 11:50 pm #15690amin007ParticipantYou gotta love some hosting companies
Yes the session_start() needs to be the first line in a script but if you look properly you will see that it is the first line (the other stuff is comment so it doesn’t count).
The main error here is the following:
Warning: session_start(): open(E:php_sessionssess_409e8c3488479755b5e973f0c3199c2d, O_RDWR) failed: Permission denied (13) in E:hshomekevin897mcsherry.iewp-contentpluginswordpress-paypal-shopping-cartwp_shopping_cart.php on line 22
once you take care of that the other one will go away automatically. Basically, something is wrong with your session save path or something so when it’s trying to save it in the session it’s failing.
I can’t tell you for sure but it’s something around fixing your session save path in the PHP.ini file or adding a tmp directory for session. Your hosting provider should know this if they don’t this Instructions might be of some help:
January 23, 2010 at 1:11 am #15691RedrokitMemberHello,
I’m having an installation problem. When I install and go to view the menu for the plugin, it’s not visible.
All I have is “WP Shopping Cart” link under the “Settings” Tab.
I get a message “The plugin does not have a valid header”.
Can you help?
Thanks,
Red
January 23, 2010 at 2:01 am #15692IvyMemberHi, This happens when you upload the plugin directory that does not contain the plugin files directly inside it. Common cause for this is when you unzip the file it creates a directory inside a directory.
Step 1: Delete what you uploaded.
Step 2: Follow the video tutorial on this page to install the plugin:
http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768
March 31, 2010 at 5:33 pm #15693shadygroveMemberHi. First, thanks for a beautiful, simple, easy to use PayPal integration plugin. I’ve been fumbling with opensource CMS options for a couple years, but still consider myself pretty much a noob since I don’t spend a lot of time reading or rewriting code. The automation of so much of WP has been a blessing.
My question is a simple one… I uploaded the WP e-commerce plugin first and like the way it displays Products, etc., but by default products are directed to its built in Paypal payment gateway. I’ve looked all over the settings and can’t find a place to override the default and install the Simple Paypal option. Is this something that should be done in the code instead of the preferences?
Any insights will be greatly appreciated.
April 1, 2010 at 7:16 am #15694amin007Participant@Shadygrove, Looks like you are using the Instinct’s “WP e-commerce” plugin.. this forum is not for “WP e-commerce” plugin. Please try the forum of “WP-e-commerce” plugin for your question.
April 4, 2010 at 7:50 pm #15695shadygroveMember@admin007 thanks for your reply. my issue is that i like the simple paypal shopping cart interface and i like the instict wp e-commerce ability to create “product” pages. i am wondering if it’s possible to merge the two and if so, how? barring that ability, i am wondering if there is an additional 3rd party plugin that simply allows me to create new posts as “products” instead of pages or blog style posts. ideally, i’d like to have each product have it’s own page and a “catalog” style products page. instinct’s shopping cart provides this, but their shopping cart interface itself is much less appealing to me than the one designed by you guys.
thanks again for your efforts in all regards.
April 5, 2010 at 1:14 am #15696amin007ParticipantYou can use both these plugins (wp-ecommerce and simple wp shopping cart) on the same site but they cannot be integrated.
April 5, 2010 at 6:06 am #15697shadygroveMembergot it. well, i don’t know why i didn’t see this, but i just found the part on the simple shopping cart page where it had a default “products” page… Products Page URL… guess that’s all i was trying to create all along… can’t believe i didn’t see that earlier when i was scouring the settings… thanks for your time.
May 9, 2012 at 2:03 pm #15698NatalieMemberHi guys,
When I try to activate Simple Paypal Shopping Cart I get this message:
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 3211 is not allowed to access /tmp owned by uid 0 in /mydomainfolder/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 23
Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /mydomainfolder/public_html/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 23Any advice on what could be done?
I read the post above about the session and not sure if it’s the same and what to do in this case.
I have
PHP Safe Mode : Off
Thank you,
Natalie
May 10, 2012 at 1:08 am #15699adminKeymasterHi, It looks like you purchased the eStore plugin so not sure why you are trying to install the simple shopping cart plugin?
Anyway, basically PHP session on your server is not working properly (it happens when the hosting provider gives you a misconfigured server). Some more details here that should help you chase your hosting provider and get them to fix your server configuration:
https://support.tipsandtricks-hq.com/forums/topic/php-session-not-working-correctly
May 10, 2012 at 2:42 pm #15700NatalieMemberThanks heaps, I will have a look.
Yes, you’re right, I have purchased eStore but I just can’t get it activated… (I have not checked yet if there were any replies in that topic. I’m grateful for any help.)
Meanwhile I though I could use some other plugin for the time of my struggle ), the plugin that would show a PayPal order button below cat postcards that I want to sell.
(Otherwise I think the ordering process that I had to offer to customers looks awkward to them. I had to say “tell me numbers of postcards you like, then I’ll send you an Invoice from Pay Pal, then you can pay”. I think I’m losing potential customers offering this way of ordering ) I just need to find something that will link to PayPal directly at least until everything is sorted out with eStore.)
Thanks a lot for your help. I will have a look at the link.
Cheers,
Natalie
May 10, 2012 at 11:18 pm #15701adminKeymasterOkay. You should follow the video tutorials on this site and get your eStore plugin setup (you will have your PayPal order thing up and running pretty quick)
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-quick-setup-and-usage-video-tutorial-593
May 13, 2012 at 2:20 am #15702NatalieMemberHi, good news.
Yesterday I contacted my hosting provider so they can check if it’s something on the server side. They’ve done some magic and now it’s fixed.
Both eStore and Simple Shipping Cart activated.
So it was something with the server configuration I guess.
Thank you so much for responding and caring! I appreciate this.
Have a lovely day,
cheers,
Natalie
-
AuthorPosts
- You must be logged in to reply to this topic.