Paypal shop hack: img src="" for empty album, where is nopic.jpg? - Page 2 Paypal shop hack: img src="" for empty album, where is nopic.jpg? - Page 2
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Paypal shop hack: img src="" for empty album, where is nopic.jpg?

Started by sharpo, January 26, 2006, 12:44:36 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Paver

#20
@sharpo: Very good.  The solution for you would be to delete the lines Blueiris listed.  They are not necessary at all for the Paypal shop hack unless you change languages.  I just realized that this must be why Casper put that in there.  If you don't have a hacked language file to include $lang_shop_data, then you cannot config his Paypal shop, so he just shows the admin panel and wants to process this form as I said before.  Ideally, he should have an English fallback just for his $lang_shop_data, but that will take some coding.  I don't think he should put up the admin panel & process it as a fallback.  That seems weird to me.

So the solution is to hack the hack.  Open up shop.php and remove those lines Blueiris listed.  That should do it for you.

I'll move this thread, rename it, and mark it as "Solved".  Then I'll put up a post on Casper's thread to inform him of the problem.  Of course, his hack is still in 'beta' so I'm sure he won't be surprised.   ;)

Well done, everyone.

p.s. Please do *not* post additional questions regarding this issue here.  Please use Casper's thread on the Paypal shop hack:
http://forum.coppermine-gallery.net/index.php?topic=26454.0.  I didn't merge this thread with that one for simplicity, but additional queries should go in the "home" thread.

Joachim Müller

Moved this thread back from the mods board to the support board where it belongs. Only actual mods go into the mods board, not fixes for mods. Instead, you should post in the thread that deals with the mod, refering to the fix. The mod author may then decide to apply the fix to his mod (or not).

Paver


sharpo

Quote from: Paver on January 27, 2006, 01:34:39 AM

So the solution is to hack the hack.  Open up shop.php and remove those lines Blueiris listed.  That should do it for you.


That seems to have corrected the problem, thanks to Blueiris for showing which lines to remove.
Sharpo (not an expert, just a Coppermine user)
3 live galleries, first started in 2006.
http://www.sharpos-world.co.uk/BB3cpg/ with over 8,000 images.
http://www.sharpos-world.co.uk/cpg/ with over 25,000 images. 1.6.25
http://www.sharpos-world.co.uk/kc/ with over 300 images. 1.6.25

Casper

Ooops.

yep, my fault.  I didn't put this code in as such, I just forgot to remove it from the code I copied from the admin.php.

I will update the download and put the fix on the hack thread.  As noted, this is a beta, and those that know my hacks know they never come without needing a fix or 3.  ;D
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here