Mawhorter.net Forums

Home of the facelift image replacement forums

You are not logged in.

Announcement

It looks like recaptcha is easily thwarted either by cheap labor or some other means, because I am still getting tons of spam signups.

I'm closing registrations again, if you would like to register, please email me at cory.mawhorter@ephective.com and use the subject line "Forum Registration". Give me your name and all the standard stuff in that email.

I will just have to do manual registrations until I have more time to spend on this problem.

-Cory, 2010-03-15

#1 2009-10-11 14:02:01

wooama
Steve
Registered: 2009-06-25
Posts: 5

FLIR not working in Joomla

I have no idea why FLIR is not working in Joomla. I included in the index.php file the js file:

Code:

<script language="javascript" src="<?php echo $this->baseurl ?>/templates/rhuk_milkyway/facelift/flir.js"></script>

I initiated FLIR:

Code:

<script type="text/javascript">
FLIR.init( new FLIRStyle( { inheritStyle:true } ) );
FLIR.auto([ 'TD.contentheading']); 
</script>

In the page source the paths are correct. 

So I tried to see what's wrong by pasteing into the browser the direct link to generate.php with the parameters he was getting for the text in the webpage. This would be it:

http://www.dianapap.com/templates/rhuk_ … none%22%7D


Well, the only problem is that I get this displayed on the screen instread of the generated image:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@dianapap.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Yes... the error display is off and I don't have acces to php.ini file.

So please, if anyone knows what I'm doing wrong, tell me ;;)

Offline

 

#2 2009-10-11 14:24:27

cory
Administrator
From: Detroit
Registered: 2008-08-05
Posts: 929
Website

Re: FLIR not working in Joomla

That error means someone is misconfigured in apache.  I usually see it when I mess up a mod_rewrite rule.

Does the path templates/rhuk_milkyway/facelift/generate.php really exist?


Check out Facelift v2.0 beta 3.  The best version yet.

Offline

 

#3 2009-10-11 17:09:02

wooama
Steve
Registered: 2009-06-25
Posts: 5

Re: FLIR not working in Joomla

yes, it does.

Offline

 

#4 2009-10-12 16:28:11

cory
Administrator
From: Detroit
Registered: 2008-08-05
Posts: 929
Website

Re: FLIR not working in Joomla

Check your httpd.conf file and also any .htaccess files and verify that there are no problem rules.


Check out Facelift v2.0 beta 3.  The best version yet.

Offline

 

#5 2009-10-12 16:29:26

cory
Administrator
From: Detroit
Registered: 2008-08-05
Posts: 929
Website

Re: FLIR not working in Joomla

You could also try putting:

echo "hello";
exit;

at the top of generate.php and then going to it.  If you see "hello" and not an error then the problem is with FLIR, otherwise it's with your configuration.  It's prolly with your config.


Check out Facelift v2.0 beta 3.  The best version yet.

Offline

 

#6 2009-10-20 14:54:18

wooama
Steve
Registered: 2009-06-25
Posts: 5

Re: FLIR not working in Joomla

I found out what was wrong with the server settings... wouldn't allow more rights for the directories than 755, but that's not really a problem because the site is running by user.

Ok... these being said... it's still not working. As you see below, generate.php is generating the image, but it won't replace the text with it.

http://www.dianapap.com/temp/flir_not_working.JPG

Pretty please, if somebody knows what's happening and why's not working, post a response.

Last edited by wooama (2009-10-23 04:03:14)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB