Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 201
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 182
Total: 182

Author Topic: Problem with Pretty URL - tests are not vailid URL  (Read 4527 times)

0 Members and 1 Guest are viewing this topic.

Offline aixtools

  • Member
  • *
  • Posts: 4
    • View Profile
Problem with Pretty URL - tests are not vailid URL
« on: August 10, 2014, 06:59:41 am »
I had Pretty URL working fine with SMF 1.X, but have never been able to get it to work properly in SMF 2.0.X

I have been hoping that it had to do with the records in smf_settings, whcih I have deleted manually a couple of times after deinstall (would be better if these were also deleted when "all history" is to be removed.

I was very happy to see that there are updates being done (though confusing because the News screen does not mention 1.1.2, and it sends you to code.google with older versions that what is here)

But I still get URL like: (space between http: and / are on purpose so they do not get BBC coded)
http: //www.name.tld/forums/www.name.tld/prettyname

while I am expecting (and used to get)
http: //www.name.tld/forums/prettyname

I have SMF 2.0.8 and the latest version of PrettyUrl http: //custom.simplemachines.org/mods/index.php?action=download;mod=636;id=233577

Instructions on where to put a debug statement, and what you would like to have in it!! is welcomed!

Michael

Offline aixtools

  • Member
  • *
  • Posts: 4
    • View Profile
Re: Problem with Pretty URL - tests are not vailid URL
« Reply #1 on: August 10, 2014, 07:37:09 am »
p.s. : are these all the settings added to smf_settings?

Code: [Select]
mysql> select variable from smf_settings where variable like "pretty_%";
+-------------------------+
| variable                |
+-------------------------+
| pretty_action_array     |
| pretty_board_lookup     |
| pretty_board_urls       |
| pretty_enable_filters   |
| pretty_filters          |
| pretty_filter_callbacks |
| pretty_root_url         |
| pretty_skipactions      |
+-------------------------+
8 rows in set (0.00 sec)

Offline aixtools

  • Member
  • *
  • Posts: 4
    • View Profile
Re: Problem with Pretty URL - tests are not vailid URL
« Reply #2 on: August 20, 2014, 11:11:06 am »
I was patient, and ended up just removing version 1.1.2 and then using phpmyadmin to delete the smf_settings where variable like "pretty_%"

And reinstalled.

Unfortunately, pretty_url does not seem to create all the entries it needs during install.

Notice: Undefined index: pretty_action_array in /var/httpd/forums/htdocs/index.php on line 75

Notice: Undefined index: pretty_board_urls in /var/httpd/forums/htdocs/index.php on line 76

The two it does create are:
pretty_filters
pretty_filters_callback

Suggestions?

Offline aixtools

  • Member
  • *
  • Posts: 4
    • View Profile
Re: Problem with Pretty URL - tests are not vailid URL
« Reply #3 on: August 20, 2014, 11:38:43 am »
Well, rebooted the server - to be absolutely the database cache was cleared, and now the install (yet again) created the missing smf_settings and it seems to be working :)

Happy me.

To SMFHacks - would be MUCH better if you also remove the smf_settings, at least the one labeled 'pretty_root_url' as this kept getting appended to the real root_url - until I finally deleted it.

Or to simplify a URL move - have a way to set/reset the root_url!

For me, this is solved.

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
5970 Views
Last post July 14, 2006, 04:01:05 pm
by Pat
5 Replies
3741 Views
Last post July 08, 2011, 08:49:56 am
by SMFHacks
9 Replies
5577 Views
Last post June 08, 2012, 02:30:07 pm
by SMFHacks
11 Replies
9563 Views
Last post January 06, 2013, 02:27:07 pm
by SMFHacks
4 Replies
5676 Views
Last post August 14, 2014, 09:52:54 am
by underc0de

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal