I don’t really understand what they mean, but I’ll take yours/their word for it.
You might check out our sister hosting company, EngineHosting. =)
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
May 21, 2009 1:44pm
Subscribe [3]#16 / May 22, 2009 3:33pm
I don’t really understand what they mean, but I’ll take yours/their word for it.
You might check out our sister hosting company, EngineHosting. =)
#17 / May 22, 2009 3:53pm
Hi,
me neither.
You can see the rewrite code above in my 5.15pm reply and i don’t see anything wrong when i look at it.
He said that this produces continuous loops which go into the thousands????
This it what i see in the error log: [Fri May 22 20:22:28 2009] [error] [client 84.191.253.32] mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use ‘RewriteOptions MaxRedirects’ to increase the limit if neccessary.
So, i’m still lost…
Roman
#18 / May 22, 2009 3:58pm
We’re not able to help with the mod_rewrites; that’s server side. You could try a different method of removing index.php, or find a host that has better support for mod_rewrites.
#19 / May 25, 2009 2:58pm
Ok,
so i followed your advice and changed everything back to the ugly 😊 index.php?
Still need a little help now. The scripts don’t yet work again - maybe due to the wrong path?
Do those look ok:
src="/global/lightwindow.js"><a href="{gallerypicture1}" class="lightwindow" rel="Random[{gallerytitle}]" params="lightwindow_left=350">And a last and maybe the most important question: I have around 7.000 articles with all those nice links in Yahoo, Google and other search engines. Is there a way i can do some automated redirect to keep the links working?
Otherwise i’d have to write 7.000 redirects by hand. What i’m looking for is something that tells the incoming links to look for “berlinista.com/index.php?/” at the beginning of articles instead of simply berlinista.com/”
Thanks’ a ton
Roman
#20 / May 26, 2009 6:25am
so i followed your advice and changed everything back to the ugly 😊 index.php?
Does that mean it’s working again with the index.php in the URL?
Do those look ok:
src="/global/lightwindow.js">
It’s really impossible to tell without knowing your setup. Is the javascript a static file outside of EE? IF so, that should work.
I have around 7.000 articles with all those nice links in Yahoo, Google and other search engines. Is there a way i can do some automated redirect to keep the links working?
Yes, but. It all boils down to using mod_rewrite again, which your host seems not to be so great in supporting.
What i’m looking for is something that tells the incoming links to look for “berlinista.com/index.php?/” at the beginning of articles instead of simply berlinista.com/”
You are looking for “regular expressions”. This can be done, but it’s not trivial; there are a large number of tutorials on how to do something like that out there on the net.
#21 / May 26, 2009 1:21pm
Ok,
no, the javascript files are no static files outside of ee. they were saved as templates. maybe i should try to save them as static files to find out if that works.
We’ll i’ll do a search for “regular expressions” then.
Thanks’ a lot and have a great day.
Roman
#22 / May 26, 2009 6:06pm
If they are, in fact, EE templates you’d probably need to use
src="/index.php?/global/lightwindow.js">Or use a {path=} variable. Or, yes, use external files and hardcode them. Let us know if you need further help 😊
#23 / May 26, 2009 6:56pm
Aaah,
ok - great to know.
Changing the paths doesn’t make the scripts work, but it for sure helps to reduce the possible reasons for the failure. Problem is that there are too many files involved which leaves me with too many choices.
You might be so kind to check to following code.
<a href="http://{gallerypicture1}" class="lightwindow">" params="lightwindow_left=350"]{gallerypicture1}</a>http://www.berlinista.com/storage/images/2008/clicktoenlarge3.jpg</div>
<a href="http://{gallerypicture2}" class="lightwindow hidden">"]</a>This is part of the code i need for the lightwindow. Is it ok? If it is, it must have something to do with the url of the script.
Thanks’ again
Roman
UPDATE If i check out this side http://www.berlinista.com/index.php?/en/article/mercedes-benz-fashion-week-gets-the-job-done/7610 in the source code view everything seems to be ok. The problem must be somewhere else. I’ll figure it out.
#24 / May 26, 2009 7:27pm
You still have problems with your “global” template group, as a quick look-sey with firebug will show.
your prototype library isn’t loading, which I assume is probably the problem with the lightbox.
http://www.berlinista.com/global/prototype.js - Doesn’t work
http://www.berlinista.com/index.php?/global/prototype.js —Does Work
Make sense?
-greg
#25 / May 26, 2009 8:01pm
Hi Greg,
makes sense, but adding the index.php? and the domain part still doesn’t make the lightwindow work.
Mmmm…
Thank you
Roman
#26 / May 26, 2009 8:11pm
You are still having issues with scriptaculous working correctly. Firebug gives off javascript errors. Honestly, I would move the javascript libraries outside of ExpressionEngine, and have them just read by the browser as files. The source of your problems lie with the fact that you are now forced to use query strings due to your new host,.
Or, you can trick the scriptaculous bootstrap file, and look for the line with:
var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,'');and change it to:
var path = s.src.replace(/scriptaculous\.js(#\?.*)?$/,'');Then you should be able to load:
http://www.berlinista.com/index.php?/global/scriptaculous.js#?load=effects
If it was me, I’d take the JS Framework out of ExpressionEngine, but I hope that gives you options.
-greg
#27 / May 27, 2009 2:33am
Good morning from Berlin,
ooooh yeah!
Moving the files into a separate folder did the trick. Just remembered that i had the same problems in the past with the “swfobject”. For that reason i couldn’t save it as template, but had to throw it into a “js” folder.
Thank you so much. You’ve saved me at least a week of trial and error…
Take care
Roman
#28 / May 27, 2009 4:19am
Glad to hear it. So, you’re all set for now? Things are working as they should?
#29 / May 27, 2009 3:29pm
Yes - all set (besides of the fact that i’m now going to rewrite around 7.000 urls by hand in order to keep them external links working…)
Thank you all so much.
If i need any more assistance i’ll scream
Cheers
Roman
#30 / May 27, 2009 3:40pm
Yes - all set (besides of the fact that i’m now going to rewrite around 7.000 urls by hand in order to keep them external links working…)
Please, don’t. Seriously, go get some help, perhaps start a new thread in Howto. It can be done, regular expressions are difficult but not that difficult.
Closing for now, if you need further help, simply start a new thread, please.