Jump to:

23370 Posts in 18160 Topics by 2864 members

General Questions

SilverStripe Forums » General Questions » Can anybody help?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 773 Views
  • Lemonie
    Avatar
    Community Member
    70 Posts

    Can anybody help? Link to this post

    I am new to SilverStripe and have some problems which I have already posted about and some new ones.

    How do I add a paypal donate button to a charity site. All the solutions I have found are old and the files don't exist anymore.
    I cannot upload pictures (fairly basic thing to want to do), I have downloaded the patch but have no idea where to upload it to.

    Please can somebody help me?

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Can anybody help? Link to this post

    Hi Lemonie,

    I the "patch" for file upload will require you to edit the files mentioned in it directly on your webserver.

    As for the paypal donate button - I advise you to read the paypal docs for soemthing relating to making a simply button and then take that code and place it in your templates. If you need more help on templating please read through the tutorial / documentation.

    I am sure that http://www.silverstripe.org/PayPal-donation-widget-2/ would still work with small changes if that, give it a try and post in the widgets sectio if you have any problems

  • Lemonie
    Avatar
    Community Member
    70 Posts

    Re: Can anybody help? Link to this post

    Hi Swaiba

    Thanks for the reply. The contents of the patch are:

    Folder.php.patch
    Upload.php.patch

    I am new to this but I can't find and folders of those names in silverstripe?

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Can anybody help? Link to this post

    Patches are information about changes for SVN and the should contain a relative file path... however since I know what you are tlaking about (having mentioned / used them myself frequently)... take a look at them online...

    http://www.silverstripe.org/general-questions/show/19724#post313439

    you'll see "sapphire/filesystem/Upload.php" and some green stuff and some red stuff...

    edit the file on the web, select the delete the red stuff and add the green stuff... I'll repeat edit the file... the patch is only useful to you as information not to update anywhere

  • Lemonie
    Avatar
    Community Member
    70 Posts

    Re: Can anybody help? Link to this post

    I have followed the instructions here ...

    http://open.silverstripe.org/changeset/114471

    but when I upload the Asset/Admin.php I get an error. This is used by a dog rescue and I need to upload many pictures and I need to fix it asap?!

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Can anybody help? Link to this post

    I get an error

    And what exactly might that error be?

  • Lemonie
    Avatar
    Community Member
    70 Posts

    Re: Can anybody help? Link to this post

    Fatal error: Class AssetAdmin_DeleteBatchAction contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (CMSBatchAction::getDoingText) in /var/sites/h/homelesshounds.org.uk/public_html/cms/code/AssetAdmin.php on line 438

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Can anybody help? Link to this post

    and the version of silverstripe?

    from that message it looks like you have the wrong patch or you have applied it wrong.

    773 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.