Pretty URLs

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

Previous topic - Next topic

goldenboy48

Ignore my last error:

Please look at this (After a fresh upgrade of SMF)

http://i263.photobucket.com/albums/ii145/ecricnet/PrettyURLs.jpg

Dannii

That's a package manager error, not an error specific to this mod. Check your file permissions and maybe make a temp directory. If you still have trouble ask in the General Support board.
"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."

jayc7176

#2082
Parse error: syntax error, unexpected '*' in /QueryString.php on line 613

I have tried to fix this but it won't correct the issue  -- been trying to make it work for 2 hrs now !

When i removed * it tell me i have unexpected /

I have attatched QueryString.php that is it giving me error in


Also i should mention - It installed successfully without giving me any errors during the install ...on default theme..


Can some one please look at this ?! Many Thanks for such cool mod.
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

Dannii

The problem is that the file has been modified twice. You'll see two "/*   Pretty URLs says no!"s and two "*/"s. Delete the first "/*   Pretty URLs says no!" and then remove the first "*/" and everything up to (but not including) the second "*/".

I'd check the rest of the files that were modified to see if they were installed twice too.
"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."

jayc7176

#2084
oh i see !  Thanks Danniiii!!!! let me work on this  

Edit:: Successss!!!!!

Thank you Danni! I looked at what you said to look at . for some odd 'O reason it got installed twice with in query.php I just simply removed the Doubles and now ! Guess what i have purrrrety URLS..

Many Thanks for this Mod Mate !
I cannot teach anybody anything, I can only make them think -  Socrates™ 469 BC

SMF- 1.1.5

runebergen

#2085

Pretty URLS and SMF Arcade (Erics Version)

When I enable the Pretty URL, it gets correct URL for main part of the Arcade, and games plays...

But the submit score will not work... when a game is done.


Anyone know a fix?

the url :

/forum/arcade/index.php?act=Arcade&do=newscore


*Thanx

MarioH

#2086
Quote from: runebergen on August 01, 2008, 04:12:36 PM

Pretty URLS and SMF Arcade (Erics Version)

When I enable the Pretty URL, it gets correct URL for main part of the Arcade, and games plays...

But the submit score will not work... when a game is done.


Anyone know a fix?

the url :

/forum/arcade/index.php?act=Arcade&do=newscore


*Thanx

me sucede lo mismo, plz helpme =)
   
the same thing happens to me Ayuda porfavor

AimBox Comunidad online, Jugos, Anime, Warez.
[Aportes]: Ordenar SubForos || Smiles Tipo IPB || Agreement.txt ||

axlarry

Does anyone here having 500 Internal server error on some of your forum pages (not the whole forum)? I'm still having this problem. Some of my members also reported that sometimes they can't post or reply. I believe it has something to do with the pretty url filters but I'm not sure exactly how. There's no particular links/text that cause this internal error, sometime by removing links (including quote from previous post) problem solved and sometime is not. I'm really frustated :(

Anyone having the same problem?


runebergen

#2089
Quote from: runebergen on August 01, 2008, 04:12:36 PM

Pretty URLS and SMF Arcade (Erics Version)

When I enable the Pretty URL, it gets correct URL for main part of the Arcade, and games plays...

But the submit score will not work... when a game is done.


Anyone know a fix?

the url :

/forum/arcade/index.php?act=Arcade&do=newscore


*Thanx


OK...tested a bit more

When Pretty URL is ON, the URL gets written to :
/forum/arcade/index.php?act=Arcade&do=newscore ( gives a 404 page)

But for score to be registered, the URL needs to be :
/forum/index.php?act=Arcade&do=newscore


The flash games internal Action script loads the page "index.php?act=Arcade&do=newscore" when it is done, to write scores, but Pretty URL makes that not work, as it have the /arcade/ made


Is it possible to make some sort of exception, URL redirect or something ??
Either Pretty URL not to make URLs for action=arcade, or a redirect for the 404 page to go to correct url

I tried in .htacces
"Redirect 301 /forum/arcade/index.php?act=Arcade&do=newscore http://www.site.com/forum/index.php?act=Arcade&do=newscore"

But that didnt work

Its a bit Greek to me all this, hope someone can help

Thanx in advance






Dannii

#2090
runebergen, the simplest solution is to disable the actions filter. I'll come up with a better solution in the near future.
Or make this change: http://www.simplemachines.org/community/index.php?topic=146969.msg1564990#msg1564990

axlarry, anything more in the SMF or Apache error logs?

"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."


Dannii

If you're using 0.8 try upgrading to 0.9 and then check if you still have the problem.
"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."

shaitanfr


saosangmo

hi Dannii,
where can I download 0.9?

Dannii

shaitanfr, is there anything unusual in that page? What kind of links are in the posts?

saosangmo, http://code.google.com/p/prettyurls/downloads/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."

shaitanfr

Dannii,

I have deleted the page and restore more important parts with a backup who was on another server. My problème is solved for now.
I dont think it was unusual content inside, jut a lot of link.
You ca see the content now but perhaps problématic-content is deleted.

http://passion-xbmc.org/developpement/re-faq-script-et-python/


Thanks for all Danny, and good night ;)




saosangmo

hi Dannii, do you mean the file named prettyurls-20080616.tar.gz ?
thanks

Dannii

shaitanfr not Danny! y is evil!

saosangmo, yes.
"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."

shaitanfr

Lol, Shaitan too is the Evil Name :)

Sorry.

Advertisement: