Advertisement:

Author Topic: Pretty URLs 1.0 - Updated for SMF 2.0  (Read 1280808 times)

Offline InfoStrides

  • Full Member
  • ***
  • Posts: 495
  • www.TheInfoStrides.com
    • InfoStrides on Facebook
    • @TheInfoStrides on Twitter
    • TheInfoStrides.com
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6620 on: April 11, 2012, 06:06:23 PM »
Now, I confirmed there is problem somewhere.... The same error occur in RSS feed when I switch on pretty-URLS.

The domain name (http://www.theinfostrides.com) is removed from the URL and only return (/african-news/kenya-tanzania-issue-tsunami-warnings/msg91048/#msg91048)


Offline nend

  • Beta Tester
  • Sr. Member
  • *
  • Posts: 837
  • 2 deep n2 the code
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6621 on: April 12, 2012, 02:22:11 AM »
Now, I confirmed there is problem somewhere.... The same error occur in RSS feed when I switch on pretty-URLS.

The domain name (http://www.theinfostrides.com) is removed from the URL and only return (/african-news/kenya-tanzania-issue-tsunami-warnings/msg91048/#msg91048)



Don't know what is going on with your site, but my RSS feeds are just fine for the forum with Pretty.

Offline InfoStrides

  • Full Member
  • ***
  • Posts: 495
  • www.TheInfoStrides.com
    • InfoStrides on Facebook
    • @TheInfoStrides on Twitter
    • TheInfoStrides.com
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6622 on: April 12, 2012, 03:41:12 AM »
I tested it on localhost, there was no problem at all. I'm confused. I intend to do a fresh installation may be that can resolved the issue.... Some custom works must have been responsible for the flop!

Offline InfoStrides

  • Full Member
  • ***
  • Posts: 495
  • www.TheInfoStrides.com
    • InfoStrides on Facebook
    • @TheInfoStrides on Twitter
    • TheInfoStrides.com
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6623 on: April 12, 2012, 09:16:30 AM »
Now, I confirmed there is problem somewhere.... The same error occur in RSS feed when I switch on pretty-URLS.

The domain name (http://www.theinfostrides.com) is removed from the URL and only return (/african-news/kenya-tanzania-issue-tsunami-warnings/msg91048/#msg91048)



Don't know what is going on with your site, but my RSS feeds are just fine for the forum with Pretty.

I got this issue resolved. I will explain what happened for reference purpose.

I found that my forum URL was not populated in the pretty URL setting which may probably due to transition from version to version and some database upgrades.

This got the problem resolved:
Code: [Select]
UPDATE  `abc_xyz`.`justme_settings` SET  `value` =  'http://www.theinfostrides.com' WHERE  `justme_settings`.`variable` =  'pretty_root_url';

Offline MSL

  • Semi-Newbie
  • *
  • Posts: 46
  • Gender: Male
    • Word Counter
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6624 on: April 12, 2012, 11:08:16 AM »
How to fix this Database Error:



    Database Error: Illegal mix of collations for operation ' IN '


 The text of the error is: Database Error: Illegal mix of collations for operation ' IN '
File: /home/......................../public_html/Sources/PrettyUrls-Filters.php
Line: 54


The line 54 is: "WHERE url_id IN (" . implode(', ', $urls_query) . ')', __FILE__, __LINE__);"
Bulgarian proxy - Only for legal purposes! | Learning some Italian: i in Italian. Very easy forum post exchange or blog comment exchange.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,398
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6625 on: April 12, 2012, 05:01:33 PM »
Make sure all your database tables are the same collation type either utf8 or latin1
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - A Portal System for SMF
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline PatrickForum

  • Jr. Member
  • **
  • Posts: 231
    • @verdienenforum on Twitter
    • Geld verdienen op internet forum
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6626 on: April 15, 2012, 05:29:15 PM »
A few months ago, I deleted the pretty urls plugin, because it was giving us all kinds of problems.
Now the plugin is removed, there are still many search engine friendly URL's which don't exists
anymore, but instead redirecting them to a 404 page (for search engnes), the URLs goes straight to the homepage.

This is giving us Google problems. What can we do?

So the pretty urls mod didn't removed all the sef urls.
Now the residual urls are still here, but they don't give a 404 page.
Ons SMF Forum over geld verdienen via internet

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,398
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6627 on: April 15, 2012, 06:42:11 PM »
Download the reverter package from
http://code.google.com/p/prettyurls/downloads/list
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - A Portal System for SMF
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline MSL

  • Semi-Newbie
  • *
  • Posts: 46
  • Gender: Male
    • Word Counter
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6628 on: April 16, 2012, 07:57:57 AM »
Make sure all your database tables are the same collation type either utf8 or latin1

  :)Thank you, but how to make it? (I am with 1.1.16). Is it "Admin--------------Forum Maintenance----- ?
Or another way?
Bulgarian proxy - Only for legal purposes! | Learning some Italian: i in Italian. Very easy forum post exchange or blog comment exchange.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,398
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6629 on: April 16, 2012, 12:17:44 PM »
Another way using your control panel from your host and phpmyadmin
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - A Portal System for SMF
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Pandos

  • Jr. Member
  • **
  • Posts: 149
  • Gender: Male
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6630 on: April 16, 2012, 12:36:05 PM »
Hi, got a little problem.

I've changed order of Boards a view days ago. Something really strange is happening now:

some of the topics gives an error 500. All other threads working fine. Even in the same board.

Deactivated pretty urls, cleared pretty_urls_cache, pretty_board_lookup and pretty_board_urls.
Then re-enable Pretty Url's and and run maintenance.

But my topics keep giving me error 500.

Any suggestions?

Regards
Sven

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,398
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6631 on: April 16, 2012, 01:17:18 PM »
Anything in your forum's error log that might be releated?
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - A Portal System for SMF
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline Pandos

  • Jr. Member
  • **
  • Posts: 149
  • Gender: Male
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6632 on: April 16, 2012, 01:19:35 PM »
No. Also in server logs nothing.

Offline iverSUN

  • Semi-Newbie
  • *
  • Posts: 46
  • Gender: Male
  • www.zgempire.com
[ERROR] Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6633 on: April 20, 2012, 12:20:34 PM »
ERROR
I'm trying to send out an HTML newsletter via eMail, and I'm having some problems.

Quote
Fatal error: Maximum execution time of 30 seconds exceeded in /Sources/PrettyUrls-Filters.php on line 269

I've turned on Mail Que settings (set to 40 emails per minute, 3 emails per page load) to help throttle the server and keep load down. It adds about 67 email addresses to the que, out of ~2,000.

I've also added the action "admin" to the skip actions area, so PrettyURLs isn't doing anything for the admin area. The link looks like: site.com/index.php?action=admin;area=news;sa=mailingsend

Offline Theatre Publicity

  • Semi-Newbie
  • *
  • Posts: 26
    • TheatrePublicity on Facebook
    • @onefineham on Twitter
    • Web Publicity Entertainment and Personal Finance
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6634 on: April 20, 2012, 01:08:21 PM »
I *KNEW* you were going to put something like this out eventually.

*BLEEPING AWESOME* Saved me a TON of work. Where do I send the donation???
Visit www.todosquepaso.com/simplemachinesforum to publicize your show or event. Purchase may be required.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,398
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6635 on: April 20, 2012, 07:10:58 PM »
I *KNEW* you were going to put something like this out eventually.

*BLEEPING AWESOME* Saved me a TON of work. Where do I send the donation???
That's so much! Keeps me going.
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - A Portal System for SMF
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline arthur22

  • Newbie
  • *
  • Posts: 2
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6636 on: April 21, 2012, 04:20:51 PM »
I'm using the pretty urls mod on a brand new installation of SMF. The urls have changed over perfectly on the main board, but on the registration page there's a problem with the "Check if username is available" link (the little yellow question mark).

Before installing pretty urls, the yellow question mark links to ibstales.com/forum/register# and so the current page reloads and the yellow question mark changes to a tick or a cross to indicate if the username is free. But the pretty urls mod seems to strip out the # from the url and so the previous page reloads instead.

This is the page in question: ibstales.com/forum/register/

I don't have any other mods installed. I'd be very grateful for your help as this mod looks perfect for my forum otherwise.

I've tried changing the setting so that the php action urls don't get modified, but that doesn't help unfortunately.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,398
    • smfhacks on Facebook
    • @createaforum on Twitter
    • SMF For Free
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6637 on: April 21, 2012, 04:28:28 PM »
You currently have action rewriting enabled or disabled?
SMF For Free -Free SMF Forum hosting.
SMFHacks.com -  Paid Modifications for SMF

Latest Mod:
EzPortal - A Portal System for SMF
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline arthur22

  • Newbie
  • *
  • Posts: 2
Re: Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6638 on: April 21, 2012, 04:38:27 PM »
Hi - action rewriting is currently enabled. I did try disabling it but it didn't seem to help so I enabled it again.

Offline iverSUN

  • Semi-Newbie
  • *
  • Posts: 46
  • Gender: Male
  • www.zgempire.com
Re: [ERROR] Pretty URLs 1.0 - Updated for SMF 2.0
« Reply #6639 on: April 23, 2012, 12:56:23 AM »
Bump...

ERROR
I'm trying to send out an HTML newsletter via eMail, and I'm having some problems.

Quote
Fatal error: Maximum execution time of 30 seconds exceeded in /Sources/PrettyUrls-Filters.php on line 269

I've turned on Mail Que settings (set to 40 emails per minute, 3 emails per page load) to help throttle the server and keep load down. It adds about 67 email addresses to the que, out of ~2,000.

I've also added the action "admin" to the skip actions area, so PrettyURLs isn't doing anything for the admin area. The link looks like: site.com/index.php?action=admin;area=news;sa=mailingsend