Advanced search  

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]

Pages: 1 ... 10 11 12 13 [14] 15 16 17 18 19   Go Down

Author Topic: [cpg1.4.x]: Shopping cart (new version)  (Read 331701 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #260 on: October 13, 2009, 02:58:05 pm »

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?
Logged

hunterjo2

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #261 on: October 13, 2009, 03:08:20 pm »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #262 on: October 13, 2009, 04:57:39 pm »

it does not work

try to rephrase that in more descriptive words

hunterjo2

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #263 on: October 13, 2009, 05:02:18 pm »

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.

Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #264 on: October 13, 2009, 05:17:10 pm »

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

hunterjo2

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #265 on: October 13, 2009, 05:33:06 pm »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #266 on: October 13, 2009, 05:52:06 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #267 on: October 13, 2009, 05:54:37 pm »

I thought I was on the most recent version.

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #268 on: October 13, 2009, 06:03:29 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #269 on: October 13, 2009, 06:21:38 pm »

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

hunterjo2

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #270 on: October 13, 2009, 06:35:16 pm »

Ok,

If I add http://www.rallyimage.com/gallery/index.php/ in the ssl field I get the cart with no formating and the string in the address bar is http://www.rallyimage.com/gallery/index.php/index.php?file=photo_shop/photo_shop_checkout.

Joe
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #271 on: October 13, 2009, 08:42:13 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #272 on: October 25, 2009, 01:37:54 am »

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
Logged

Manh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #273 on: November 10, 2009, 12:21:41 pm »

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
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #274 on: November 10, 2009, 12:51:26 pm »

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

Manh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #275 on: November 10, 2009, 01:19:51 pm »

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

Manh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #276 on: November 10, 2009, 01:33:00 pm »

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

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #277 on: November 10, 2009, 02:46:03 pm »

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

Manh

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #278 on: November 10, 2009, 02:59:03 pm »

Yes, the download folder gets created
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: [cpg1.4.x]: Shopping cart (new version)
« Reply #279 on: November 10, 2009, 03:12:09 pm »

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.
Pages: 1 ... 10 11 12 13 [14] 15 16 17 18 19   Go Up
 

Page created in 0.024 seconds with 20 queries.