Advance SEF URLs

Started by Biology Forums, October 31, 2007, 09:35:32 PM

Previous topic - Next topic

Voltaic Shock

I am getting this while trying to install this mod:

2.     Execute Modification     .\Sources/QueryString.php     Test failed

SleePy

Do you have any other mods installed?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

shelzmike

I am admin of the site with Voltaic Shock, and yes we have other mods installed:

AdSense Section Targeting Mod 1.0 
Ad Managment 2.3     
Auto Embed Video/Audio Clips 3.1.2     
Avatars at Index Mod 1.5   
cbi, 1.0 1.0     
Clickable Avatars 1.0.1   
Contact Page 1.1   
Expand Pages Mod 1.0 
Google Tagged 1.4     
View Single PM 1.3     
TinyPortal 1.052   
Ultimate Profile 0.8.5   

I wish it would actually tell me WHY the error happens. Thanks for the help!

Mike


SleePy

Hmm, I can't find the "Ultimate Profile" mod.. Is it under a different name on the mod site or is not released there?

It may be easier if you attached your QueryString.php though. That would tell me what is up exactly.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

digit

Quote from: SleePy on August 08, 2008, 01:35:36 AM
Hmm, I can't find the "Ultimate Profile" mod.. Is it under a different name on the mod site or is not released there?

It may be easier if you attached your QueryString.php though. That would tell me what is up exactly.

http://www.simplemachines.org/community/index.php?topic=183574.0
Happily using a heavily modified 1.1.16 version of SMF!

2748011 Posts in 320998 Topics by 50986 Members


SOLD my website - thanks it was a good run - they converted to vbadvanced. (and screwed it up good!)

SleePy

That would explain why I couldn't find it :P
I didn't see that mod editing the QueryString.php

Could you attach your QueryString.php? I will take a look at it and compare it to what my mod is wanting to edit and see if something is different.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

shelzmike

Sure. The only thing I could think of is that not too long ago we had installed another mod that was supposed to do something with the URLs (do not remember what it was called offhand). It dudn't work, so I uninstalled it.

Here is the QueryString.php

SleePy

Give this one a try:
There was some code in there preventing it from finding it what it needed. Most likely in relation to the mod you said was supposed to change stuff with the urls.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

shelzmike

So should I replace the old file with this one, and THEN install the mod? I am assuming so, but just wanted to be sure.

Mike

SleePy

Yes,
I removed the changes and it should now pass the test for QueryString.php if you replace this file :)
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

shelzmike

Well, I tried it and I still get package error on the same file. I will double check the permissions. Also, I noticed that there is a temp ~QueryString.php which probably means it is working off of that file since it has been open since 8/1. I am guessing I may need to reset the forum? Not sure how to do this. I am secondary admin and the main admin who owns the site has it hosted on GoDaddy. I would know how to restart it if it were on my box, so it is no, so therefore I need to figure out what to do there.

Thanks again for the help.

Mike

SleePy

Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

shelzmike

I won't have time this weekend, but will try it on Monday and report the results.

Mike

OfficeDude

The automatic install doesn't include the Theme I'm using, it just updates the default theme.  Any idea on what I can do to ensure it updates my theme?  Thanks.

SleePy

Does your custom theme have a Post.template.php?
I don't think very many themes do, but if it does, then you just need to apply the edits manually.

These edits in the Post.template.php just fix issues with clicking insert quote to quote somebody from the topic summary.
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

TechPrince

#55
After enabling the Advance SEF URLs, the relative paths of css images becomes invalid.

If Image is linked to an image in a folder in which css resides then the baord produces 404 Errors considering image path is on the root directory.

Ex.
url(images/abc.jpg)

Will Produce 404 Error
File not found (http://boardname/images/abc.jpg)

Where the original path is "http://boardname/themename/images/abc.jpg"

How can we solve this relative path problem?

SleePy

What settings do you have? Are you using a subdomain?
This only modifies SMF, so it can be possible some urls can break if they are not correctly linked.

How did you setup your .htaccess for the urls if you are using things like no index.php at all?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

TechPrince

Just by enabling the the action and subaction SEF urls, some image links brakes.
By disabling it no 404 errors. The CSS files are located in themes directory and after enabling SEF Urls, that path becomes invalid and the image path becomes like this "sitename/images" or "sitename/imagefilename" producing 404 errors.

No i am not using subdomain.

default .htaccess file. No changes made.

SleePy

Can I have a link to your site?
Jeremy D ~ Site Team / SMF Developer ~ GitHub Profile ~ Join us on IRC @ Libera.chat/#smf ~ Support the SMF Support team!

TechPrince

The problems are in linked images. Those images are without scripturl.

Advertisement: