• Home
  • Get help
  • Ask a question
Last post 3 hours 10 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67891
All time tickets 10494
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1639 – Enabling shlib makes site turn into code

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Sunday, 10 January 2016 17:09 UTC
gijs007
 I have a strange bug with the shlib plugin, every time I enable it my website turns into code.
I've toggled all the shlib plugin options, but without result.

The issue is either resolved by turning off the shlib plugin or by chancing sh404sef 's Url cache handler to shared memory.

However that isn't a solution to the problem because I'd like to have a disk cache since I don't have any of the shared memory PHP engines installed and disabling the shlib plugin results in sh404sef being not configurable and a red warning message in the admin area.

How can I have shlib plugin enabled with the disk cache without having my page turned into code?

I've attached a screenshot of the code which shows up at the top of my website.
Monday, 11 January 2016 07:52 UTC
wb_weeblr
Hi

Firs thing: you cannot disable shLIb. If you do that, you totally disable sh404SEF itself, and it's not doing anything at all.

I have a strange bug with the shlib plugin, every time I enable it my website turns into code.
That's not code. That's the content of the disk cache file.



How can I have shlib plugin enabled with the disk cache without having my page turned into code?
I don't know, this is a battle tested feature running on many sites. It should work automatically (it's actually on by default).

1 - How many URLs have you set it's size? still the default 10000?

2 - Maybe your file is corrupted, I would suggest you manually delete any PHP file located in /components/com_sh404sef/cache

Rgds
 
Monday, 11 January 2016 11:23 UTC
gijs007
Removing the file seems to have helped. Apparently it had different permissions set. (instead of www-data it had permissions for my personal account on Linux)

Thank you :)
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.