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

AlphaHot1

After smf-1.1.8 update (the admin/packages code was modified) I have error 403 if I go on admin/packages...

Any help?

rayosx

Guys I need help,   I am using   smf 2.0 rc1 

I uncompressed the file prettyurls-0-9.tar.gz to my hard drive, it went fine, I uploaded to my web hosting inside  /Packages   with the directory name:  prettyurls-0-9, it went fine, I changed all attributes to including subs to 755   it went fine too, but when I go to administration under packages in the forum it shows "Pretty URLs 0.9  "  fine, but it does not show the   [Apply Mod] to install it.   

What am I doing wrong?   I have installed other packages and under the forum it shows "[ Apply Mod ]" to install the mods and that's it.    This mod is not showing the installation button    [Apply Mod] 

So I really don't know what is happening, any help ? thank you 

aishaweb

Quote from: rayosx on February 14, 2009, 06:26:09 AM
Guys I need help,   I am using   smf 2.0 rc1 

I uncompressed the file prettyurls-0-9.tar.gz to my hard drive, it went fine, I uploaded to my web hosting inside  /Packages   with the directory name:  prettyurls-0-9, it went fine, I changed all attributes to including subs to 755   it went fine too, but when I go to administration under packages in the forum it shows "Pretty URLs 0.9  "  fine, but it does not show the   [Apply Mod] to install it.   

What am I doing wrong?   I have installed other packages and under the forum it shows "[ Apply Mod ]" to install the mods and that's it.    This mod is not showing the installation button    [Apply Mod] 

So I really don't know what is happening, any help ? thank you

That is not needed, you do the installation in the package manger in the forum's admin panel.

Dannii

Quote from: SlammedDime on February 09, 2009, 10:25:44 AM
I haven't had a chance to do an install, but after thinking, I think I may know the issue... if SMF's SEF style urls are enabled before installing your mod, the value in modSettings, retails it's '1', unless your mod disables it (not sure).  Because of this, the fix_possible_url function still sees that, and reformats the url to SMF's style.  It would appear that Pretty Urls's isn't setup to re-convert already converted SMF's style SEF urls, thus the issue.  (again, untested at this point)
Ahh yes. Hmmm. Is that a new function in RC1?

Quote from: @sh on February 09, 2009, 12:57:54 PM
Sorry mate, just had the error again, this appeared after making the changes you proposed earlier to subs-post.php - here's the URL that was in the email:

http://www.**************.co.uk/index.php?topic=211.new;topicseen#new

After clicking it, the browser opened and converted it to:

http://www.**************.co.uk/shipwrecked-tom-jaconelli/oooooh/new/?PHPSESSID=pm3pdkm7qtdaoju68a3srmvci5;topicseen

Thats when I got the 503 error.
What kind of email was it? It's possible I only fixed it for some emails. Or none at all... I will investigate further...

Quote from: aishaweb on February 09, 2009, 05:15:50 PM
Quote from: Bigdealer on February 09, 2009, 04:52:27 PM
I want to install this but dont get how. Please help me. I dont want to screw it up!!

Do NOT set it to work with actions, if something goes wrong you dont want to get locked out of the admin panel.

Actually, is it possible to remove the option altogether?
Please don't give bad advice. There's nothing wrong with the actions filter.

Quote from: keng_113 on February 10, 2009, 09:46:45 AM
after installing the "pretty url" mod
then when I activate it, my forum doesn't load anymore.


www.techtrip.tk

I need badly need help  :'(
http://code.google.com/p/prettyurls/wiki/TroubleShooting
Please follow the first section to disable the mod. The double and tripple check your server supports .htaccess and mod_rewrite

Quote from: aishaweb on February 12, 2009, 03:14:40 AM
Quote from: sombra on February 11, 2009, 10:31:30 PM
what actions do? if i enable them wil they bring me problems?

Not if it works properly, but why would you want SEO friendly actions urls?  What is the purpose?
They look pretty. That's what this mod is for. They're also easier to type and use.

Quote from: cassie on February 12, 2009, 10:16:15 AM
Hi Danni!
I posted this in November when you were away and just now found the post asking us to post again because you wouldn't be going through those old posts, so I'm posting this again

Both of the forums I have Pretty URLs installed on are throwing errors like crazy and the appear to be caused by Pretty URLs. Need help determining what the problem is.

I get a string of errors like this:

8: Undefined index: smftags_menu
File: /home/sitename/public_html/bb/Themes/default/Display.template.php (main_above sub template - eval?)
Line: 645


8: Undefined index: smftags_menu
File: /home/sitename/public_html/bb/Themes/default/Packages.template.php (main_above sub template - eval?)
Line: 645

8: Undefined index: smftags_menu
File: /home/sitename/public_html/bb/Themes/default/Display.template.php (main_above sub template - eval?)
Line: 645

There's nothing weird on line 645 of these files. Sometimes the file it states doesn't even contain a line 645. And I think it's weird that it's always line 645.

I'm getting errors on the other forum that are similar:

8: Undefined variable: reply_button
File: /home/sitename/public_html/bb/Themes/classic_red/Display.template.php (main sub template - eval?)
Line: 551

8: Undefined variable: modify_button
File: /home/sitename/public_html/bb/Themes/classic_red/Display.template.php (main sub template - eval?)
Line: 556

Can you help me troubleshoot these errors? Can you tell if the Pretty URLs mod is causing them?
Doesn't look like it has anything to do with this mod.

QuoteAnother thing...if I uninstall Pretty URLs, will all my links be broken or will it go back to normal? Will people finding that Pretty URL in a search or otherwise be redirected if they follow it or will they receive a 404 error?

Thanks for your help!
If you leave the .htaccess they won't be broken. If you also install the reverter package then they can be redirected to the normal URLs.

Quote from: chris345 on February 12, 2009, 04:12:41 PM
HUGE BUG

I have been tested this mod on my live site and I thought it was pretty great, and the arcade addon was fantastic.

However I am using the custom blackbox theme, SMF 2.0 beta 4, prettyurl 0.9 and it seems that the CONDITIONAL [no_context_robot] noindex tag in the index.template file that prevents the page from being indexed is on every page. I know it is only suppose to do it for replies but it is doing it for every post on my site even the original post itself.

my site: http://nintendopolis.net/

test account to login and view boards (I have the look but no read mod installed)

u: yoshifan
p: cjcjcj

I already bought this issue up with the SMF staff and they said it was mostly likely the "pretty url" mod causing this problem and to talk to the creator about it.
Are you sure it is a problem with this mod? I have written it to be smart and not cause this problem. If you disable the mod does it still occur? What else do you have installed?

Quote from: AlphaHot1 on February 13, 2009, 10:25:18 AM
After smf-1.1.8 update (the admin/packages code was modified) I have error 403 if I go on admin/packages...

Any help?
Follow the first section on the trouble shooting page...

Quote from: rayosx on February 14, 2009, 06:26:09 AM
Guys I need help,   I am using   smf 2.0 rc1 

I uncompressed the file prettyurls-0-9.tar.gz to my hard drive, it went fine, I uploaded to my web hosting inside  /Packages   with the directory name:  prettyurls-0-9, it went fine, I changed all attributes to including subs to 755   it went fine too, but when I go to administration under packages in the forum it shows "Pretty URLs 0.9  "  fine, but it does not show the   [Apply Mod] to install it.   

What am I doing wrong?   I have installed other packages and under the forum it shows "[ Apply Mod ]" to install the mods and that's it.    This mod is not showing the installation button    [Apply Mod] 

So I really don't know what is happening, any help ? thank you 
What's happening is that the mod doesn't support RC1 yet. You can try emulating beta 4, though not everyone has had success with that.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

aishaweb

Quote from: Dannii on February 14, 2009, 09:02:49 AM

Quote from: aishaweb on February 09, 2009, 05:15:50 PM
Quote from: Bigdealer on February 09, 2009, 04:52:27 PM
I want to install this but dont get how. Please help me. I dont want to screw it up!!

Do NOT set it to work with actions, if something goes wrong you dont want to get locked out of the admin panel.

Actually, is it possible to remove the option altogether?
Please don't give bad advice. There's nothing wrong with the actions filter.



Do you agree that it causes more harm than good?

At least one person had an issue and couldnt get to the admin section to turn the mod off because action urls were being rewritten.

Neorics

Support for RC1 please ^^
[For Hire] I can help you with anything regarding Simple Machines Forum  ~ My Portfolio

rayosx

#3106
aishaweb,

I am not able to install mods through the administration panel, so the only way that I can do this is manual and then  go to the administration panel and   click the button that says  [Apply Mod]    Now in this scenario  it does not appear the  [Apply Mod]  Danii told me that  RC1 is not supported and I need to  emulate the  b4, that's fine,  I will wait for now until it is solved, I don't want further problems in m forum.

Is there any help or guide to   set up my administration panel to install mods from the administration panel instead to do it manually?

I receive this error.

Although the package was downloaded to the server it appears to be empty. Please check the Packages directory, and the "temp"

sub-directory are both writable. If you continue to experience this problem you should try extracting the package on your PC and

uploading the extracted files into a subdirectory in your Packages directory and try again. For example, if the package was called

shout.tar.gz you should:
1) Download the package to your local PC and extract it into files.
2) Using an FTP client create a new directory in your "Packages" folder, in this example you may call it "shout".
3) Upload all the files from the extracted package to this directory.
4) Go back to the package manager browse page and the package will be automatically found by SMF.

You guys rocks and thanks for the help and support

PS: thanks Dannii  for your answer/help and aishaweb as well.

Dannii

Quote from: aishaweb on February 14, 2009, 09:07:16 AM
Do you agree that it causes more harm than good?

At least one person had an issue and couldnt get to the admin section to turn the mod off because action urls were being rewritten.
No I disagree. If someone is having problems they should be referred to the trouble shooting page.

rayosx, Did you try downloading the mod from the SMF package server? Perhaps try downloading it from the customisation site and uploading it yourself. Emulating is very easy, there's a link/box at the bottom of the package list.
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

rayosx

Dannii,
If you want that I post screenshots, please let me know and I will take screenshots.

I can not install from the admin panel (forum),   I can upload from my hard drive to my web hosting by ftp manual, and then enter again to my forum admin and try to run mods from there.     I am wondering whether there is a guide or something to know why I am not able to install mods from my admin panel (forum).   the error that I have is above this reply.

SlammedDime

Quote from: Dannii on February 14, 2009, 09:02:49 AM
Quote from: SlammedDime on February 09, 2009, 10:25:44 AM
I haven't had a chance to do an install, but after thinking, I think I may know the issue... if SMF's SEF style urls are enabled before installing your mod, the value in modSettings, retails it's '1', unless your mod disables it (not sure).  Because of this, the fix_possible_url function still sees that, and reformats the url to SMF's style.  It would appear that Pretty Urls's isn't setup to re-convert already converted SMF's style SEF urls, thus the issue.  (again, untested at this point)
Ahh yes. Hmmm. Is that a new function in RC1?
According to the SVN log, it's been there since revision 2773, quite a while ago.  It does exist in the 1.1 line as well.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

jmassimo

This mod caused my site to crash when it was installed.

I know almost nothing about programing and now just want to uninstall it but my whole site has crashed.

PLEASE HELP!!!!

The error I get when trying to access the site reads:

Parse error: parse error, unexpected '*' in /home/content/m/a/s/masterjasper/html/Sources/QueryString.php on line 578

PLEASE PLEASE PLEASE, I have a ton of angry users emailing me every five minutes. Let me know what you need to help and I will be quick to reply.

You can also email me here:

[email protected]

Thanks!

jmassimo

Alright all, I figured it out thanks to an email from someone who read the thread! Thank you.

Problem number two:

The header on my page is now not showing up, it appears the link is broken on every page but the index page.

Any ideas?

Dannii

Quote from: rayosx on February 14, 2009, 10:11:39 PM
Dannii,
If you want that I post screenshots, please let me know and I will take screenshots.

I can not install from the admin panel (forum),   I can upload from my hard drive to my web hosting by ftp manual, and then enter again to my forum admin and try to run mods from there.     I am wondering whether there is a guide or something to know why I am not able to install mods from my admin panel (forum).   the error that I have is above this reply.

Well it sounds like a general package manager bug... so you'd be best to ask in the support forums. I can't help with that sorry!

Quote from: jmassimo on February 14, 2009, 11:03:55 PM
This mod caused my site to crash when it was installed.

I know almost nothing about programing and now just want to uninstall it but my whole site has crashed.

PLEASE HELP!!!!

The error I get when trying to access the site reads:

Parse error: parse error, unexpected '*' in /home/content/m/a/s/masterjasper/html/Sources/QueryString.php on line 578

PLEASE PLEASE PLEASE, I have a ton of angry users emailing me every five minutes. Let me know what you need to help and I will be quick to reply.

You can also email me here:

[email protected]

Thanks!
The mod has been installed twice. Replace QueryString.php with a new version from the install package.

What is the link on your header?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

rayosx

Danni,
I have not tried the emulator, but thanks for your answers and help, I will wait a little bit until this gets improved for the next version of smf then I will install it, since I am not so good with PHP and these kind of stuff, I prefer to stay away of troubles :)

Bigdealer

Ok is there a way i can a mod or using this one and change the ULR to like lets say a board is called fun fun fun cant the ULR be

www.------------.co.uk/forum/funfunfun/.....


Ok if thats not a good example something like this

http://www.----------------------------------/introduce-yourself/20754-hello-everyone-greetings-poland.html


Cant you see the board and post in the URL am i making any sense?

Dannii

rayosx, you don't need to know any PHP hopefully. At the bottom of the package manager is a link saying Advanced. Click on it to emulate another version.

Bigdealer, I'm not sure how that's really different to what the mod does now... can you explain more?
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

chris345

I turned off the mod and the problem is gone. It appears to only occur with the mod installed. Please is there anything you can do to help me? I checked the parsing of the filters.php, htacess and managesettings.php and I can't seem to identify the problem.

Bigdealer

#3117
Quote from: Dannii on February 15, 2009, 08:09:13 AM
rayosx, you don't need to know any PHP hopefully. At the bottom of the package manager is a link saying Advanced. Click on it to emulate another version.

Bigdealer, I'm not sure how that's really different to what the mod does now... can you explain more?

Ok have i installed the mod correctly??

www.eastenderstvsoap.co.uk/forum

Yes or no? lol for me it does not come like that!


EDIT: I FORGOT TO ENABLE THE MOD NOW ITS WORKING :)

Loky

I search this topic to find an answer to my "problem" but nothing came out.

Here is the thing. Everything world swell with this addon and i think you for making it. One thing i don't understand though. If i use old topic urls (ie: http://www.wowjuju.com/index.php?topic=555 [nofollow]) everything works fine... But if the topic ID is >874 is not redirected to the new url. Any idea why?
I hope I explained myself good enough.

Thanks in advance.
World of Warcraft Daily News and Reputation Calculator
www.wowjuju.com [nofollow]

Dannii

chris345, is it the same in the default theme?

Loky, that redirects for me...
"Never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise."

Advertisement: