[cpg1.4.x]: Shopping cart (new version) - Page 14 [cpg1.4.x]: Shopping cart (new version) - Page 14
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[cpg1.4.x]: Shopping cart (new version)

Started by Stramm, December 21, 2008, 11:43:01 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Joachim Müller

Can't spot a shopping cart on http://www.rallyimage.com/gallery/index.php nor any method to purchase an image on that site. Subsequently, no blank pages for me. Can't replicate. You're doing what exactly to end up with a blank screen?

hunterjo2

I disabled the store last night now when I try to renable it, it does not work?????

I can give you the admin login if you want to look around?

Joe

Stramm


hunterjo2

To prevent people from using the shopping cart i disabled it last night.

When I tried to enable it again this morning so that you and Joachim could have a look it is not appearing on the site even though in the backend its active.


Stramm

If you have other plugins enabled, change the order. Eg. move the shop plugin to the very top.

hunterjo2

ok,  got it working again but now I still have the same problem

When I add something to the basket then select checkout, then select confirm your order I just get a blank screen.

The link in the address bar shows

http://www.rallyimage.com/gallery/?file=photo_shop/photo_shop_checkout

Joe

Stramm

Either add to your apache conf (or whatever webserver you're using) index.php to the DirectoryIndex

that would show the coppermine startpage instead of a blank page when you type http://www.rallyimage.com/gallery/ and not http://www.rallyimage.com/gallery/index.php

Also you seem to not use the most recent version of the shop as that one uses $_SERVER['PHP_SELF'] to get the script address and this returns usually the the full URL including the file name (index.php). In earlier versions I think I have used the URL from the coppermine config. There of course index.php was missing.

hunterjo2

I thought I was on the most recent version.

Can you give me a link to the most recent version?

Stramm

I've rechecked and probably you use the latest version I've publishe here (1.4). Open your shop config and make sure you have set a SSL address. If you do not specify one, the the shop grabs the standard address from the coppermine config. That's the one without index.php. So you know what you have to enter there ( http://www.rallyimage.com/gallery/index.php ).

Still I recommend to add index php to the DirectoryIndex. It also can be done using htaccess

hunterjo2

Yeah it goes further now but just to a plain white screen with text???

hunterjo2


Stramm

now you're calling it 2 times.. check the URL... as said, I recommend to add index.php to the DirectoryIndex.

If you do not want to do that, fix one of the checkout buttons before you use the second (in cart and below the sys menu).

Joshzinho

hi man

I would like to make a page to the shopping cart like this, what are the changes necessary?

http://patriciafigueira.com.br/selecao/72157622507529639/1

some details do not have that problem and would even offer the option to drag and drop

Manh

Hello Stramm,
i am using the photo shop card since 3 months now to sell prints and it works just great, thanks a lot for this plug-in.

Now i am trying to offer downloads, and thats where i get stucked.
I have set up everything and its working so far, but when i mark an item as paid and i want to create the download directory, it does not create the directories.
I get This messages:

When I click on the "D" button, I get an error message saying "Directory already exists.... delete first! Order id: 17"

When I click on the "X" to delete it, I get a message saying "Folder does not exist! Can not delete it! Order id: 17"

and if I click "C"  I get the error message "No items to download"

My Host has "Save Mode" turned off.
I know this has been asked already before, but i could not find an answer, except that it is an issue with safe Mode on. But since i have safe mode off, it must be something else i am doing wrong.

Do you have an idea where i am goig wrong?

Kind Regards,
Manh

Stramm

make sure the download dir is writable... delete the not working order and retry with a 'fresh' one

Manh

Where the download dir. will be created? I guess in albums...
The albums dir. is set to 0755.

Manh

Just tried with albums set to 777 and fresh order, no luck

Stramm

Was the script able to create the downloads directory (subdir of albums)?

Manh


Stramm

this downloads dir is set to 755? And the folder for the actual download's getting created too? Two numbers separated by an underscore (user id and order id)? If so, what's the folder content.