Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12400
Latest: mikel
New This Month: 5
New This Week: 1
New Today: 1
Stats
Total Posts: 40609
Total Topics: 7132
Most Online Today: 180
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 108
Total: 108

Author Topic: prettyurls - TroubleShooting.wiki  (Read 6870 times)

0 Members and 1 Guest are viewing this topic.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15291
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #15 on: September 22, 2020, 03:35:09 pm »
Yeah it does you will need to download the mod unzip it.
Find smf2.0/install.zip
and remove this code from it. then rezip it back up.
Code: [Select]
// Create the pretty_urls_cache table
$smcFunc['db_drop_table']('{db_prefix}pretty_urls_cache');
$smcFunc['db_create_table']('{db_prefix}pretty_urls_cache', array(
array('name' => 'url_id', 'type' => 'varchar', 'size' => 255),
array('name' => 'replacement', 'type' => 'varchar', 'size' => 255),
), array(
array('type' => 'primary', 'columns' => array('url_id')),
), array(), 'overwrite');
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline GhostHunting

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #16 on: September 22, 2020, 03:47:45 pm »
You did it!!! It works!!!

Thank you so much!!!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15291
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #17 on: September 22, 2020, 03:49:44 pm »
Glad you have it working! Still a strange issue.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline GhostHunting

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #18 on: September 22, 2020, 03:54:08 pm »
I have several other SMF installs, how do I upgrade from the old version of Pretty urls to the new version? Is there tutorial somewhere?

Thanks again for your help!

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15291
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #19 on: September 22, 2020, 04:07:11 pm »
Ideally you uninstall old version then install new when possible.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline GhostHunting

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #20 on: September 22, 2020, 04:10:45 pm »
That gives:

Code: [Select]
HTTP ERROR 500

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15291
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #21 on: September 22, 2020, 04:24:47 pm »
On uninstall That would be tricky. But most of the updates where just the changes from the sources file.
You can do the replacements just overwrite old files. I would do a backup first
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline s10dulkar

  • Newbie
  • *
  • Posts: 1
    • View Profile
moved host old db having pretty url data how to add mod in new installation
« Reply #22 on: December 08, 2020, 12:56:45 pm »
moved to new host installed fresh smf and reloaded old db now i am trying to enable pretty url as its already in db. but it gives me error when i try and install mod

Specified key was too long; max key length is 1000 bytes
File: /home/customer/www/samplesite.com/public_html/Packages/temp/SMF2-0/install.php
Line: 39

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.17, while your database is at version 2.0.10. The above error might possibly go away if you execute the latest version of upgrade.php.

what to do now? where can i find upgrade.php and will that solve this issue ?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15291
    • View Profile
Re: prettyurls - TroubleShooting.wiki
« Reply #23 on: December 08, 2020, 12:58:49 pm »
Replied on smf forum upgrade.php
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
7 Replies
6109 Views
Last post October 07, 2006, 11:43:40 pm
by Nite
1 Replies
2762 Views
Last post September 14, 2014, 09:46:47 am
by SMFHacks
0 Replies
1963 Views
Last post May 31, 2017, 10:49:05 pm
by SMFHacks
0 Replies
1171 Views
Last post July 13, 2018, 04:22:02 pm
by SMFHacks
0 Replies
1403 Views
Last post July 13, 2018, 04:23:01 pm
by SMFHacks

+- Recent Topics

Forum ToolBox by Monocero
Today at 11:47:48 am

Gallery Pro v8.0 and PHP 7.4 by SMFHacks
January 20, 2021, 10:21:25 pm

[Mod] Tagging System by SMFHacks
January 13, 2021, 08:43:33 pm

Using Alternate PayPal Address by KKOG
January 13, 2021, 07:24:46 pm

Assigning a BuyNow Button to a product by SMFHacks
January 12, 2021, 04:59:32 pm

SMF Links by Nicole
January 10, 2021, 12:02:39 pm

Error on the latest version by davejo
January 06, 2021, 08:04:05 am

Recent topics on board index by eugen
January 01, 2021, 11:08:16 am

Parser by swayforth
December 31, 2020, 12:24:23 am

Show Gallery in Users Profile by swayforth
December 29, 2020, 10:37:17 pm

Powered by EzPortal