Pages (3):    1 2 3   
Member
Member
sbillard   29-03-2013, 23:40
#21

It is a difficult situation. The normal structure for plugins is that there is a root php script and possibly a folder similarly named. A plugin developer may choose to place both those into a single containing folder for distribution purposes. I suspect that is what was the case here.

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.

Member
Member
suedoughnym   30-03-2013, 00:04
#22

Hi sbillard,

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: [i][b]"Don't upload the folder[/b] these are contained but the files itself to the /plugins folder"[/i]

D.

Member
Member
jphilbert   30-03-2013, 07:31
#23

@suedoughnym did you get it to work .. I tested it myself on a super-clean version of zenphoto and it worked no problem.

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.

Administrator
Administrator
acrylian   30-03-2013, 10:07
#24

@suedoughnym: I have updated our instructions to be really clear as well.

Member
Member
suedoughnym   30-03-2013, 17:22
#25

@jphilbert - No. I still can't get it to work!
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.

Member
Member
suedoughnym   30-03-2013, 17:23
#26

Thanks @acrylian! I think those instructions are much clearer, especially with the example...

D.

Member
Member
jphilbert   30-03-2013, 19:07
#27

man strange I have no idea why ... what version of zenphoto are you running?

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?

Administrator
Administrator
acrylian   30-03-2013, 20:07
#28

jphilbert, it is quite dangerous to openly post the mail address given how much spammers like our forum...

A guess, it could be the server, maybe you did something special for a PHP version suedoughnym does not have.

Member
Member
suedoughnym   30-03-2013, 21:07
#29

Thanks people...

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.

Administrator
Administrator
acrylian   30-03-2013, 22:29
#30

Since you probably have the mail address now, I will remove it for safety.

Member
Member
jphilbert   30-03-2013, 23:36
#31

It works flawless in 3 different versions of Zenphoto some were clean others had data .. so I sure its a senseless bug .. I need to get on the back end to verify what it is and fix it for you and anyone else it may happen to..

So when you have the chance send it to me so I can have look. I am sure I can fix it ..

Member
Member
suedoughnym   31-03-2013, 21:18
#32

Hi jphilbert,

I sent you an email with some login details - could be in your junk mail folder?

D.

Member
Member
jphilbert   31-03-2013, 22:51
#33

I will check my junky folder.

But please resend it and let me know what the topic is ..

Member
Member
suedoughnym   01-04-2013, 12:22
#34

Sorry to mess you about jphilbert!
I really do appreciate all the help and attention you have given to this!

I have resent the email now using a different email address as i am not sure if I have some issues with the last one? ;(

The subject was simply: 'problems with zensimplecart'

D.

Member
Member
suedoughnym   05-04-2013, 21:26
#35

Any news on an upgrade, jphilbert?

One that will work on older PHP versions?

D.

Member
Member
jphilbert   06-04-2013, 10:33
#36

should be fixed by Sunday .. I fixed most of it now it's just testing and reworking the logic..
this is on my priority list because it affects any system below php 5.4

Member
Member
suedoughnym   07-04-2013, 11:32
#37

That's great news, jphilbert!

Must be a bit of a pain, but worth it in the end I'm sure.
My host is using php 5.2 by default, with an option to upgrade to 5.3. Not sure how common this is though?

While you're in an updating mood, would it be possible to add GBP (Great Britian Pound) as a currency? Or is it simple enough for me to do myself?

Many thanks,

D.

Administrator
Administrator
acrylian   07-04-2013, 12:38
#38

I think I did suggest GBP in the beginning as well..;-)

Member
Member
jphilbert   07-04-2013, 12:48
#39

That is strange I thought I added GBP already .. I will add it to the list so dont do it your self. The problem with the plug-in is that 5.4 now supports "array dereferencing" I never notice because in most languages its simple logical thing to do win programing ...I had no idea that php 5.3 and below did not support it .. but in the end I rather everyone be able to use the plugin, not everyone needs to upgrade to php5.4 or can for that matter.

Member
Member
jphilbert   09-04-2013, 02:36
#40

All fixed thanks for access to your server with out it I could never fix and update the script .. not it work perfectly..

You need to replaced the version on your server with the new one.


Major fixes mostly reworked the logic and other code so it will work with PHP 5.3 and lower. Fix the PHP array dissociation bug.

Added a simple and Standard mode
Standard mode: shows thumbnail image and flyaway an image
Simple mode: shows ONLY text and add button image and flyaway of the price.
Added support for google and amazon checkout
TODO: SendForm submission

Other small fixes and enhancements

Pages (3):    1 2 3   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.