Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2008
    Posts
    19
    Plugin Contributions
    0

    Default Getting 403-Forbidden when pasting javascript in Ez-pages

    I have an embedded calendar script that I'm trying to put into an EZ-Page and when I click update, I get an error:

    Forbidden

    You don't have permission to access /admin/ezpages.php on this server.


    This is the code for what I'm trying to embed:

    <script language="javascript" src="/calendar/load.php?ui_view=calendar"></script>

    any tips would rock :)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Getting 403-Forbidden when pasting javascript in Ez-pages

    Your hosting company's mod_security rules are blocking you from entering <script> tags which are often considered to be rogue content.
    You'll have to get them to exempt you from their security protections designed to protect you from hackers.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Getting 403-Forbidden when pasting javascript in Ez-pages

    If they won't do that for you, I've embedded Google calendars without a problem in EZ pages. You'll need a GMail account.

  4. #4
    Join Date
    Nov 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Getting 403-Forbidden when pasting javascript in Ez-pages

    Thank you. I ended up installing one of the add-ons that allow php in ezpages and then just did everything as an include.

 

 

Similar Threads

  1. Downloads getting 403 forbidden after upgrading to 1.5.4
    By connected in forum Upgrading to 1.5.x
    Replies: 11
    Last Post: 20 Jan 2015, 07:03 PM
  2. 403 Forbidden error when updating product
    By pinixdesign in forum Setting Up Categories, Products, Attributes
    Replies: 28
    Last Post: 27 Mar 2012, 05:10 AM
  3. Add-to-Cart getting Error 403: Forbidden
    By haostaff in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 8 Dec 2008, 07:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg