Skip to main content
Topic: [ADDON] SimpleSEF (Read 25654 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: [ADDON] SimpleSEF

Reply #15

@emanuele  does this work with current version?

Re: [ADDON] SimpleSEF

Reply #16

Not really.
I didn't have much time to deal with it.
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimpleSEF

Reply #17

And now, after ages, I can say I've worked on it a bit.
I'll take a bit of rest, tomorrow I'll do some tests and if everything (or at least most of everything) works as expected, I'll post the package.
In the meantime, I pushed the code to github.
Bugs creator.
Features destroyer.
Template killer.

Simple SEF for Elkarte 1.0.4

Reply #18

Hello MODs,

Please can anyone modify the simple SEF addon to be compatible for the recent version of Elkarte?

Thanks.

Here is the link to the older version of SEF

http://www.elkarte.net/community/index.php?topic=513.0

Re: [ADDON] SimpleSEF

Reply #19

As far as I can see it should work as expected, did you have any problem?
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimpleSEF

Reply #20

Quote from: emanuele – As far as I can see it should work as expected, did you have any problem?

i tried installing it @emanuele but gave me a warning that if would 'clash' with other addons that i had installed and may cause harm to the forum installation.

 

Re: [ADDON] SimpleSEF

Reply #21

A directory was missing... Probably git doesn't like empty directories or something, because I had to add a fake index.php to make it show up in the repo.
Well, whatever.
Now it's there and I fixed also a bug I found.

Remember that to enable it you have to add an .htaccess (or equivalent for your webserver), the help button in the settings will give you an example that you can copy&paste.
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimpleSEF

Reply #22

Actually, I found that this doesn't cope at all with the dispatching & C... I have to rewrite part of it...

Scratch what I said above, it's a much simpler problem (apparently).
Uploaded the repository.

Just as a reminder, you need an htaccess like this:
Code: [Select]
RewriteEngine On
# The following line must contain the relative directory to the forum install
RewriteBase /elk/
RewriteRule ^(cache|themes)($|/) - [L]
RewriteRule ^(.*)$ index.php
for the addon to work.

Demo at http://testing.elkarte.it/elk/
Last Edit: October 18, 2015, 11:03:47 am by emanuele
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimpleSEF

Reply #23

Quote from: emanuele – Actually, I found that this doesn't cope at all with the dispatching & C... I have to rewrite part of it...

Scratch what I said above, it's a much simpler problem (apparently).
Uploaded the repository.

Just as a reminder, you need an htaccess like this:
Code: [Select]
RewriteEngine On
# The following line must contain the relative directory to the forum install
RewriteBase /elk/
RewriteRule ^(cache|themes)($|/) - [L]
RewriteRule ^(.*)$ index.php
for the addon to work.

Demo at http://testing.elkarte.it/elk/


Uhhh... that seems to have completely and utterly broken my site. I grabbed this and now it's generating... well... this

http://lysharia.com

Edit: Was able to disable simplesef. Whew. Never seen stuff blow up like that until now.

Edit2: Looks like I'm still having permissions issues... this is going to be real annoying... because this is on a cPanel server. Also, I am now unable to uninstall the mod.

QuoteSimpleSEF added 0.0134<
SimpleSEF added 0.0134
SimpleSEF added 0.0134!
SimpleSEF added 0.0134
SimpleSEF added 0.0134D
SimpleSEF added 0.0134
SimpleSEF added 0.0134O
SimpleSEF added 0.0134
SimpleSEF added 0.0134C
SimpleSEF added 0.0134
SimpleSEF added 0.0134T

That's what happens when I try enabling SimpleSEF. Is this normal?

Edit2: Error logs indicate:

QuoteApply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: seconds_withApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:48 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: page_createdApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?https://lysharia.com/Apply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: seconds_withApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: queriesApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282      
Apply Filter: Only show the error messages of this member Keiro
Reverse chronological order of list Today at 01:20:13 AM
Apply Filter: Only show the error messages of this IP address 70.121.243.92 
Apply Filter: Only show the error messages of this session f11c26421fe749bfca512d586d77a330
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the errors with the same message   8: Undefined index: page_createdApply Filter: Only show the error messages of this URL   https://lysharia.com/index.php?index=php%3Faction%3Dadmin%3Barea%3Dsimplesef%3Bsa%3Dbasic;action=admin;area=simplesef;sa=basicApply Filter: Only show the errors from this file   File: /home/lysharia/public_html/sources/SimpleSEF.php
Line: 282

Re: [ADDON] SimpleSEF

Reply #24

I think your font awesome is not working somehow...


Re: [ADDON] SimpleSEF

Reply #26

If you were using another language then english I would say: "An undefined index error message does mean there is no translation for the english language string in your language files." But that's not the problem here, right?

Sorry for the crash! I hope you can fix it soon!  :(

Re: [ADDON] SimpleSEF

Reply #27

@Keiro , IP addresses should not publish it 8)  
Regards Stephan

Re: [ADDON] SimpleSEF

Reply #28

Quote from: Jorin – If you were using another language then english I would say: "An undefined index error message does mean there is no translation for the english language string in your language files." But that's not the problem here, right?

Sorry for the crash! I hope you can fix it soon!  :(

That is correct. The forum is English-only.

Quote from: wintstar – @Keiro , IP addresses should not publish it 8) 


It's my IP address. I don't care if somebody comes across it.