Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Widget links don't work when storytlr deployed in sub-folder #87

Open
lisvane opened this issue May 22, 2014 · 8 comments
Open

Widget links don't work when storytlr deployed in sub-folder #87

lisvane opened this issue May 22, 2014 · 8 comments

Comments

@lisvane
Copy link

lisvane commented May 22, 2014

Clicking on the storyteller icon in the lifestream gives a not found 404 error. The /entry folder has not been created on the host. Do I need to point something elsewhere as all the posts in the lifestream are listed correctly.

@eschnou
Copy link
Owner

eschnou commented May 22, 2014

Storytlr uses Apache URL rewriting to map URL back to index.php. This is done with the .htaccess file in the project root. But for this file to be taken into account, you must set 'AllowOverride All' in your virtual host. Have you done this?

@lisvane
Copy link
Author

lisvane commented May 22, 2014

When I do this storytlr does not load on the page that it is embedded on
using the widget.js

@lisvane
Copy link
Author

lisvane commented May 23, 2014

I have confirmed with the host provider that allowOverride All is set. Do I need to redirect StoryTlr somewhere? It is in public_html/story

@eschnou
Copy link
Owner

eschnou commented May 23, 2014

So, when you access 'http://yourdomain/story', it works, but as soon as you click on a link you get a 404 ? Can you double check that the file .htaccess is present in your root folder?

@lisvane
Copy link
Author

lisvane commented May 23, 2014

Hi Laurent

Yes .htaccess is present.

The problem only exists from the lifestream links. If I use story then
the links are fine. If I embed the story page as an object there is no
issue. The problem only seems to be present using the widget.js link.
The link address from the icon is of the form..../entry/1/5 rather
than..../entry/text_from_comment

I installed Storytlr on the host using scriptaculous. Everything is
hosted locally. Do I need to define my domain in the advanced settings
of the configuration and define a CNAME?

/Thanks/

//

On 23/05/2014 20:06, Laurent Eschenauer wrote:

So, when you access 'http://yourdomain/story', it works, but as soon
as you click on a link you get a 404 ? Can you double check that the
file .htaccess is present in your root folder?


Reply to this email directly or view it on GitHub
#87 (comment).

@eschnou
Copy link
Owner

eschnou commented May 24, 2014

Ha! The problem only occurs with the widget? This may well be a bug then. Can you share with me the url to your site/widget (you can do it in bu email: [email protected]) so I can have a look? Thanks!

@lisvane
Copy link
Author

lisvane commented May 26, 2014

I am also unable to upload pictures!

@eschnou eschnou changed the title /event folder does not exist Widget links don't work when storytlr deployed in sub-folder May 27, 2014
@eschnou
Copy link
Owner

eschnou commented May 27, 2014

Ok, I have confirmed this is a bug. In the widget, the links point to the top root and don't take into account the sub-folder. Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants