SimpleSEF 2.0 (SMF 1.1.x and SMF 2.0)

Started by SlammedDime, December 05, 2009, 10:08:40 PM

Previous topic - Next topic

Masterd


SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

locutusweb

I just installed a fresh SimpleSEF on SMF 2.0 RC 4. The mod works very fine; I like those beautiful URLs  :D

I only noticed that if I enter a non existing page, like http://www.domain.com/blahblah. I get the following output:

Notice: Undefined index: permissions in /var/www/vhosts/domain.com/httpdocs/Sources/Security.php on line 831

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /var/www/vhosts/domain.com/httpdocs/Sources/Security.php on line 831

Notice: Undefined index: mod_cache in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1559

Notice: Undefined index: username in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1560

Notice: Undefined index: language in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1561

Notice: Undefined index: email in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1562

Notice: Undefined index: ignoreusers in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1563

Notice: Undefined index: name in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1566

Notice: Undefined index: smiley_set in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1571

Notice: Undefined index: smiley_set in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1571

Notice: Undefined variable: _SESSION in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1579

Notice: Undefined variable: _SESSION in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1580

Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1613

Notice: Use of undefined constant WIRELESS - assumed 'WIRELESS' in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1635

Notice: Use of undefined constant WIRELESS_PROTOCOL - assumed 'WIRELESS_PROTOCOL' in /var/www/vhosts/domain.com/httpdocs/Sources/Load.php on line 1637


Over and over again.

What could be wrong?

SlammedDime

My mistake, I figured that fatal_lang_error would load the appropriate stuff, but apparently it doesn't.  Fortunately the 404 header is still thrown, so it won't affect search engines.  I'll throw up a fix tomorrow for it.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

locutusweb


IrateZebra


atfosan

my SMF project - school site: forum with PortaMx and SimpleSEF mods

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

MaXiForum.cz

Hello SlammedDime,
I tested this modification and nothing happens...

/index.php?topic=1.0
no
/general_discussion/welcome_smf_1.0.html

- Modification is installed OK.
- Admin panel OK.
- mod_rewrite enabled
- .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php


RC4 whats is wrong please?
Thanks

SlammedDime

SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

MaXiForum.cz


SlammedDime

If you want the content filled URLs, you need to uncheck 'Create Simple URLs'
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

MaXiForum.cz



SlammedDime

This
http://webdevart.ru/index.php?topic=292
redirects to
http://webdevart.ru/programmnoe-obespechenie/os-292.0.html
with a 301 Moved Permanently header... there is nothing bad about this and infact is the proper way to do it so there are not multiple urls leading to the same content.

I don't know where you got
http://webdevart.ru/topicseen/programmnoe-obespechenie/os-292.html/os-292.html/os-292.html/os-292.html
from because it's not generated by this mod that way.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     


SlammedDime

Those types of URL's would never occur during normal operation unless you manually created them like you are here, so there is no point in trying to detect anything like that and prevent it when it would never happen to begin with.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Ryan2320

Just tested this updated version,

Works perfect.. :)

Thanks again,
Ryan

MaXiForum.cz

One lite problem: Simpleportal and /index.php -> /action=forum
if you have installed simpleportal and run forum hxxp://yourforum.com/index.php and SimpleSEF is enabled, the URL change to hxxp://yourforum.com/action=forum and call 404: Not Found
How can I fix it?
Thanks

truhe

What is the best way to update simplesef ?
Should I go to the package manager and uninstall the old version. And then install the new version.
Or can i just upload and install the new version.

SMF 1.1.12
simplesef 1.0.3

Advertisement: