Jump to:

23007 Posts in 11866 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » [SS 2.x] - Run php files on assets folder

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
Go to End
Author Topic: 264 Views
  • pouic
    Avatar
    Community Member
    16 Posts

    [SS 2.x] - Run php files on assets folder Link to this post

    I need create one php page for facebook applications and want added to my assets folder.

    in my assets folder have another folder with the name fan-page. Inside that have .htaccess and index.php

    .htaccess

    <IfModule mod_rewrite.c>
       RewriteEngine On # Turn on the rewriting engine
       RewriteRule .* /index.php [L]
    </IfModule>

    index.php

    <?php echo "hello facebook word"?>

    When access to page have the message

    The action 'fan_page' does not exist in class AssetAdmin

    Any ideia to access content of php?

    264 Views
Page: 1
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.