News:

Wondering if this will always be free?  See why free is better.

Main Menu

Pretty URLs

Started by SMFHacks.com Team, January 31, 2007, 10:56:43 AM

Previous topic - Next topic

casp3r

Dumb question - When I try to install I get an error - two places in the subs.php file. Can I just ignore the errors and install it and then make the two changes manually to the subs.php file?
Aviation forum & gallery
www.niaviation.co.uk

vbgamer45

Quote from: casp3r on April 03, 2010, 07:49:23 AM
Dumb question - When I try to install I get an error - two places in the subs.php file. Can I just ignore the errors and install it and then make the two changes manually to the subs.php file?
You could that's what I normally suggest to do if you have errors with a mod install
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dzonny

Hello there.
I am using 1.1.11 version, and install pretty urls, but when try to go to mlist, i got this error:
QuoteIllegal mix of collations for operation ' IN '
Datoteka: /var/www/Sources/PrettyUrls-Filters.php
What should i do to fix this?
Collation in phpMyAdmin is "utf8_general_ci" for every table....

Regards.

Bruno36

Quote from: Bruno36 on April 03, 2010, 07:20:02 AM
Hello!

I SimplePortal 2.3.2 installer
I can not find the line of code in sub.php

if (!empty($modSettings['queryless_urls']) && (empty($context['server']['is_cgi']) || @ini_get('cgi.fix_pathinfo') == 1 || @get_cfg_var('cgi.fix_pathinfo') == 1) && (!empty($context['server']['is_apache']) || !empty($context['server']['is_lighttpd'])))
{
if (defined('SID') && SID != '')
$setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '\?(?:' . SID . '(?:;|&|&))((?:board|topic)=[^#]+?)(#[^"]*?)?$/e', "\$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2?' . SID", $setLocation);
else
$setLocation = preg_replace('/^' . preg_quote($scripturl, '/') . '\?((?:board|topic)=[^#"]+?)(#[^"]*?)?$/e', "\$scripturl . '/' . strtr('\$1', '&;=', '//,') . '.html\$2'", $setLocation);
}


Bruno36 the French
SMF 2.0.9

vbgamer45

Quote from: Dzonny on April 04, 2010, 04:39:20 AM
Hello there.
I am using 1.1.11 version, and install pretty urls, but when try to go to mlist, i got this error:
QuoteIllegal mix of collations for operation ' IN '
Datoteka: /var/www/Sources/PrettyUrls-Filters.php
What should i do to fix this?
Collation in phpMyAdmin is "utf8_general_ci" for every table....

Regards.
Out of ideas I thought that would be the only thing that would cause that issue.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dzonny

Ive run mainteance tasks and that fix the problem.
Now working just fine. Thanks :)

vbgamer45

Ah cool that is odd though I wonder what did it.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dzonny

Oh, dear, my mistake.
Mod has just turned off when i run mainteance today, and mlist were working.
Now when i turn mod on again, mlist cant opened. :/
Is there some other thing that can couse this exept collation?

Regards.

vbgamer45

http://drupal.org/node/140303
From that post it says also check the fields of the table to make sure they have right collietion too
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dzonny

I guess i should be chek table smf_members, and smf_members1 that i have, but collatin is set to utf8_general_ci
Or im looking in wrong table?

vbgamer45

It is smf_members table since that filter controls the profiles.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dzonny

Ok, but i cant load memberlist :/
Still, both tables is set to utf8_general_ci, and i get error after all...

vbgamer45

Tables maybe. But check that all the fields in that table are too.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Dzonny

#5073
Please see attached images, everything seems to be okay there for me...

EDIT:
Dont know if this matters, but i can not enter in one topic when the mod is enabled, and it is the biggest topic on forum, and has 587 pages and 8796 Replies.

evilfx

Quote from: evilfx on March 29, 2010, 07:21:11 AM
Hi, i'm using smf 2.0 rc3. ( forum.blackberrypt.com [nofollow] )

I installed this but my links end in http://...//?wwwRedirect

My users can't reply or create topics with this mod installed.

Help ?

help! :\

anto74

Hi vbgamer45,
i have another problem :-)
In my forum test, RC3,  i have installed PrettyUrl filters ( in live forum it works perfectly, RC2 ), but in PrettyUrl admin there aren't the fields to enable the pretty url functions...
Thanks
Antonio

thesicilian

Anyone able to confirm the correct uninstall procedure to remove pretty URL's please? Can I just uninstall from packages section? Would I need to use the reverter from here? http://code.google.com/p/prettyurls/downloads/list

I'm going to install simpleSEF in its place.

Will this affect search engines etc..?

Dzonny

vbgamer, can you see something wrong on attached images in my previous post?
Any idea how can i solve problem?

XxLexXX

Hello! My English is not very good, sorry if I will explain.

What I want is to put the diagonal in the pretty url's example:

myweb.com /forum/smf/help/users

Instead of:

myweb.com /forum/smf-help-users

This is possible?

vbgamer45

Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: