• Resolved ebaillie

    (@ebaillie)


    I’ve recently started work for an organization that has a fairly mature WordPress publication – lots of articles go up each week, lots of people read them. I’ve never particularly done anything with WordPress before, but I seem to have the status in the office of Person Who Knows Computers (I’m an ex-Java-programmer :o) and there’s a problem with the WordPress installation which nobody seems to really care about, but I’d like to fix it!

    Down the bottom of each article are three links – “Email a friend”, “News Alerts” and “Talk to us”.

    The second two links work fine – they bring up a little popup box. The other one gives me this error:

    __________________________________
    403 Forbidden
    Access is forbidden to the requested page:

    /wp-content/themes/revolution_news-21/readertoolbox/emailafriend.php (port 80)
    Please forward this error screen to the WebMaster.

    _____________________________________

    I’m trying to look through the source code to see what could be going wrong – my first problem is that I don’t know what is calling what to end up at emailafriend.php. I can see in view source where it’s being called but if I go to Edit Themes I can’t see those lines in any of the php files, and there’s 40+ files there to dig through.

    If I ftp in and poke around in the readertoolbox file then emailafriend.php is certainly _there_. It looks not particularly different from the php files for News Alerts and Talk To Us which work perfectly fine.

    So I don’t really know where to go next to try to debug this. any help appreciated! I’m not really a php expert.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Could you please provide the source code of what works and what does not over at PasteBin?

    Where did you download the theme from?

    Thread Starter ebaillie

    (@ebaillie)

    Who knows! That’s the thing about jumping into the middle of a site that’s been up for a couple of years with very minimal handover.

    Can you post a link to your site?

    Thread Starter ebaillie

    (@ebaillie)

    Ah! Fixed it. Classic case of “you need to tell someone else first before you figure out what’s going wrong.”

    Permissions on the affected php file were 0666 (for some reason). All others in the directory were 0644. Got rid of the excess write permissions, the site will let me execute that php file again.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘403 Forbidden when invoking emailafriend.php’ is closed to new replies.