Topic-icon why no reply for private message AGAIN?

Active Subscriptions:

None
8 years 6 months ago #63147 by skyfranky
I need to copy the files to my live site and test. what files should I copy?
The topic has been locked.
Support Specialist
8 years 6 months ago #63150 by mel
Looking at what's checked in, it should be in /libraries/sourcecoast/openGraphPlugin.php
The topic has been locked.
Active Subscriptions:

None
8 years 6 months ago #63154 by skyfranky

alzander wrote: I just investigated further as to what's happening.

When JFBConnect tries to autopost content, we make a call to the front-end of the site to get the SEF version of the URL to be posted. However, that call is failing when being made from the admin area of your site.

When that call is made, it makes a request like:
index.php?option=com_jfbconnect&task=ajax.sef&url=aW5kZXgucGhwP29wdGlvbj1jb21fZWFzeWJsb2cmdmlldz1lbnRyeSZpZD05ODU=

If I go to that URL directly, it works. From the admin area making the call, it fails with the following error:

Forbidden

You don't have permission to access /dev/index.php on this server.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


I'm not sure what's causing that as it seems like it may be a firewall or other server configuration issue not allowing the admin area to call the front-end of your site. Because that call is failing, the URL was just being the relative link.

I've made a change on your site which should generate a working URL including the domain. Please test and let me know if that works for you.

Thanks,
Alex


I can get the non-sef link working, but still don't know why SEF url not working. I tried to disable admintools to test, and SEF still not wroking. what else can I test to find out what causing SEF link not working?
The topic has been locked.
Support Specialist
8 years 6 months ago #63161 by alzander
If the SEF link isn't working, it means that the site is still likely returning the 500 Forbidden error when we try to generate the pretty URL. As noted above:

The change I made simply uses the non-SEF link if the SEF link couldn't be generated.

So, it sounds like you copied the change properly. Unfortunately, I don't have any explanation for what's preventing the admin area of your site to make a request to the front-end of your site.

To understand what's wrong, the 500 Forbidden error means that something is blocking the request. That could be an Apache firewall, like mod_apache, or something within Joomla itself, like AdminTools. Either of those, or any other blocking software, usually can have a log enabled. You'll need to view the mod_apache or AdminTools or whatever other security features you have enabled to understand why the request is being blocked. Once you have that information, you should be able to whitelist the request or let us know the log details and we'll see if it's something we can work around in JFBConnect.

Thanks,
Alex
The topic has been locked.