Check the link to download or more info on installation and configuration.
http://code.google.com/p/zensimplecart/http://code.google.com/p/zensimplecart/wiki/DocumentationI still have a lot of work to do still but I think its good enough for release tot he public
Comments
I did not test but Google Checkout is now named Google Wallet for some time alreaday. Best you check if that all works as expected.
I would maybe take the British Pound to the default currencies as well.
@acrylian I appreciate your help in updating the entry
https://github.com/philbertphotos/ZenSimpleCart
http://philbertphotos.github.com/ZenSimpleCart/
I'm trying to install your plugin as it's much needed and I get the following error when trying to enable the plugin..
Parse error: syntax error, unexpected '[' in /home/amand/public_html/shop/plugins/ZenSimpleCart.php on line 132
I've uploaded the following structure to my plugins folder..
ZensimpleCart (Folder)
README.md
ZenSimpleCart.php
Can you please tell me what I'm doing wrong?
I removed all dependencies and smashed some minor and major bugs.
I'm wondering if anyone can help a newbie with an issue I'm having with Zensimplecart?
I've tried to install the plugin, but whenever I try to activate it, I get the following error:
Parse error: syntax error, unexpected '[' in (my path here)/ZenSimpleCart.php on line 335
This '[' bracket comes just before the "price" variable.
If anyone can shed any light on why this is occurring I'd be very grateful!
Thanks,
D.
http://signature.philbertphotos.com ...and it works perfectly.
BTW I am the developer and will will help you get it running,
I am using version 1.8 of zensimplecart and version 1.4.4.3 of zenphoto.
I have seen it in action on your site already and it looks great (as does your site btw). I'm sure it could well do the job, but I just wanted to play around with it a little first!
Could you confirm the correct folder structure for uploading the files to the server so that we can eliminate any issues there?
Also, as the error seems to relate to prices does that mean I would need to have prices set for all albums before I install the plugin?
(Which I haven't done as yet - only on one album. I know it seems a little strange, but I'm just trying to find out why it won't install correctly)?
Thanks for your help in this matter - nice to have the attention of the original developer! :-)
D.
After the installation you can add prices Globally in the Gallery Custom DATA that way it shows in ALL albums by default, but if you add the price list to the Album or Image custom data area it will take over first and ignore the global price list..
What I need to do is install this plugin on a fresh version of zenphoto to make sure there is no start up bugs I missed .
Most of what I did when I crated the plugin was on a current install.
Opened this issue on github
https://github.com/philbertphotos/ZenSimpleCart/issues/2
case-sensitive bug
Thanks for looking into this.
The reason i asked about the installation location is that there are a couple of files in the zip file that are outside of the folder. (README.md & ZenSimpleCart.php).
At first I uploaded these into the zensimplecart folder on the server (as I assumed all files would need to be in a folder) and it didn't work. I then uploaded them outside of the folder and only then could I see the plugin in the list.
I have tried version 1.9, on a fresh install of zenphoto, but get the same error message! The only difference is the line number (now 370 instead of 335) but it refers to the same line!
It clearly works for you, so I'm still trying to work out what I'm doing differently/wrong?
I can't see the info file or the options either - both are just blank! (in the plugins list in zenphoto).
Thanks for explaining how the prices work - sounds quite straightforward - just wish I could get on with playing with what seems like a great plugin!
Any more ideas?
D.
It doesn't work properly however, but I guess it may help to pinpoint the problem?
On line 370, I changed 'count(getPriceList($value)["price"])' to 10.
On line 371, I changed: 'getPriceList($value)["price"][$i]' to 100
On line 372, I changed: 'getPriceList($value)["desc"][$i]' to 'test'
It then allowed me to install.
Does this help you to diagnose anything? Perhaps it's down to some php setting?
Grateful for any help you can offer...
D.
You are indeed correct - I may well have saved a little time there.
Thanks for the link.
I admit I just went ahead and installed according to my intuition, which clearly failed me on this occasion.
Can I just ask...if this is the way plugins are installed how are they uninstalled if there are files scattered within the plugins folder?
D.
That is how I understood it to be, and how I eventually installed the zensimplecart plugin.
I uploaded the folder, complete with subfolders, to the /plugins folder and the standalone php file of the same name to the /plugins folder.
However, I was a little bit confused as the link that you directed me to above states: 'Don't upload the folder these are contained but the files itself to the /plugins folder'.
I know I am quite new to zenphoto, but could this be a bit misleading?
Obviously, I don't mean to criticise in a negative sense, I'm just wondering if this sentence clearly describes what actually happens?
If it does then I'm more confused than ever!
D.
So his instructions probably should have said to upload the contents of the folder, not the folder itself. The contents would be the root script and the folder containing the support files.
There seems to be a little confusion here - I apologise for not making myself clear.
The plugin developer, @jphilbert, did indeed structure his plugin with a root php script and supporting folder of the same name. This is in accordance with the normal structure for plugins. (I just misunderstood it originally).
It was the zenphoto user guide, not the plugin developer, that seems to contradict this convention by stating: "Don't upload the folder these are contained but the files itself to the /plugins folder"
D.
I will update the install instructions later today thats my bad..
copy ALL files to the plugins folder just as it is in the zip file minus the readme.md .. I will change the github folder structure to avoid this in the future.
Not sure what I'm doing wrong, but it's getting very frustrating!
It doesn't seem to like the way the variables are assigned on lines 370-372.
If it works for you (& countless others) then I presume it must be some php setting or the version used? (I am using ver 5.2.17)
All I've done is installed zenphoto, uploaded the zensimplecart 1.9 plugin to the plugins directory and then when I try to activate it I get an error of:
Parse error: syntax error, unexpected '[' in /[my_path]/zenphoto/plugins/ZenSimpleCart.php on line 370.
Any other suggestions?
D.
D.
It just does not make any sense ... would you mind making me and account on the zenphoto with admin access that way I can look at it and get it fixed?
<mail address removed for spam protection..;-)>
A guess, it could be the server, maybe you did something special for a PHP version suedoughnym does not have.
jphilbert - I have version 1.4.4.3 of zenphoto, which I understand to be the latest?
I can set you up as a user, but I'm not sure it would help much?
I can see acrylian's point - hope you don't get spammed too much!
Thank you both for your help so far in sorting this out.
I'm just trying to assess this software before I use it on a client's site - if it has no cart it's not going to be useable for me on this occasion so that's why I'm trying to get this right...
D.
So when you have the chance send it to me so I can have look. I am sure I can fix it ..