Open lisvane opened 10 years ago
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?
When I do this storytlr does not load on the page that it is embedded on using the widget.js
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
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?
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 https://github.com/storytlr/storytlr/issues/87#issuecomment-44048955.
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: laurent@eschenauer.be) so I can have a look? Thanks!
I am also unable to upload pictures!
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.
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.