Home Forum
2024-05-13
Benvenuto, Ospite
Nome Utente Password: Ricordami

Works for html. not for php pages.. HELP!
(1 Online) (1) Ospite
  • Pagina:
  • 1

ARGOMENTO: Works for html. not for php pages.. HELP!

Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #670

I have redirects that work for / and /old_index.html and /anotherlink.html, but /link.php gives wierd 200 ok server information, then the index page of the new location is displayed.

OK

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

Please contact the server administrator, [no address given] 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.
HTTP/1.1 200 OK Date: Tue, 27 Oct 2009 16:49:39 GMT Server: Apache/2.2.8 (Unix) FrontPage/5.0.2.2635 X-Powered-By: PHP/5.2.6 P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM" Expires: Mon, 1 Jan 2001 00:00:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Set-Cookie: lang=deleted; expires=Mon, 27-Oct-2008 16:49:38 GMT; path=/ Set-Cookie: jfcookie=deleted; expires=Mon, 27-Oct-2008 16:49:38 GMT; path=/ Set-Cookie: jfcookie[lang]=en; expires=Wed, 28-Oct-2009 16:49:39 GMT; path=/ Last-Modified: Tue, 27 Oct 2009 16:49:41 GMT Keep-Alive: timeout=5, max=99 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html; charset=utf-8 9df3

This ReDj is setup to take the old urls /xxx.php and re-direct to /us/en/xxxyyy

some work and some dont, it is very weird and I really need some help.


Also I get these mysql errors on the pages 404. The 2 defaults were listed earlier today, then they just stopped showing and I get this.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/16/1/15/17/1830343/user/1985481/htdocs/joomla/libraries/joomla/database/database/mysql.php on line 344

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /data/16/1/15/17/1830343/user/1985481/htdocs/joomla/libraries/joomla/database/database/mysql.php on line 344
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #673

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Hi,
first send me a dump of your ReDJ table and the URL to make some tests.

Regards,
Luigi
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #677

It does not make sense

On my vista computer, in firefox or ie, I get the mysql error. On my main computer winXP64 I do not get a mysql error.

This does not make sense at all to me.

As for the Server error 200 OK. It seems to be showing in fireFox. Some times it flashes and goes away and the destination page displays. Sometimes there is no 200 error, and sometimes, the 200 error text stays at the TOP of the page and then the page displays below the text. this is all very wierd!!!

We dont seem to get any problems IE, or Safari

Is the Server error 200 Part of the header information that reDj sends back?!
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #678

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
I'm absolutely confused about the problem. First problem is:

Server error 200


How can it be a "Server error" if a status code of "200" means "OK"?.

Please, send me the URL of your site. If you want, send me a private mail with these informations (the address is in "Contattati" in the left menu). I'm sure we can solve the problem.

Regards,
Luigi
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #679

Thanks for your help

www.hi-lite.com

redirects to www.hi-lite.com/us/

all these redirects are for hi-lite.com/url and redirect to www.hi-lite.com/us/en/redirected

some of the urls are as follows
/surface-prep.php
/airportMarkings.php
/runway-markings.php
/rubberRemoval.php
/chem-rubber-removal.php
/combo-rubber-removal.php
/pavement-tape.php
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #680

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Ok,
when I call:

http://www.hi-lite.com/surface-prep.php


the redirect is right (301) and points to:

http://www.hi-lite.com/us/en/surface-preparation/proper-surface-preparation


But in the subsequent browser call there something wrong (as you can see in the attached file):

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>200 OK</title>
</head><body>
<h1>OK</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
[no address given] and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
HTTP/1.1 200 OK
Date: Wed, 28 Oct 2009 14:49:48 GMT
Server: Apache/2.2.8 (Unix) FrontPage/5.0.2.2635
X-Powered-By: PHP/5.2.6


So, you should take a look at the server error log for the error message.

Is it possible?

Luigi

I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
Allegati:
  • Allegato I file di questo Forum sono invisibili ai visitatori. Prego accedi o registrati per visualizzarli.
Ultima modifica: 14 Anni, 6 Mesi fa Da admin.
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #681

I am trying to get the errorlog info. this only happens during a redirect with reDj though. it has not come up on other pages directly.
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #682

I am trying to get into the log files, they had to be turned on, now I am waiting for them to get created and rotated. I will post ASAP!
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #684

Ok, this is the errors in the logs
keep this in mind. We changed our dns to point to the htdocs/joomla as the web root and not htdocs. the server, network solutions, had MAJOR issues moving the site with the symlinks that were created by the jms2win Multisites module

[Wed Oct 28 20:57:28 2009][error] [client 71.186.167.7] File does not exist: /var/htdocs/joomla/us/surface-preparation, referer: hi-lite.com/us/en/surface-preparation/proper-surface-preparation
[Wed Oct 28 20:57:28 2009][error] [client 71.186.167.7] File does not exist: /var/htdocs/joomla/us/surface-preparation, referer: hi-lite.com/us/en/surface-preparation/proper-surface-preparation
[Wed Oct 28 21:00:07 2009][error] [client 71.186.167.7] File does not exist: /var/htdocs/joomla/us/surface-preparation, referer: hi-lite.com/us/en/surface-preparation/proper-surface-preparation
[Wed Oct 28 21:00:07 2009][error] [client 71.186.167.7] File does not exist: var/htdocs/joomla/us/surface-preparation, referer: hi-lite.com/us/en/surface-preparation/proper-surface-preparation

these are the only entries, others are similar like
file odes not exists: /var/htdocs/joomla/us/airport-markings, referer: hi-lite.com/us/en/airport-markings/runway-painting

I am lost as to what is causing this issue
L'Argomento è stato bloccato.

Re:Works for html. not for php pages.. HELP! 14 Anni, 6 Mesi fa #685

  • admin
  • Offline
  • Administrator
  • Messaggi: 1603
Ok.
Could you please send me:

  • file .htaccess in your Joomla root folder
  • a dump of ReDJ table
  • file index.php of your template


If you prefer, send me an email (address is in left menu item "Contattaci").

Thanks,
Luigi
Ultima modifica: 14 Anni, 6 Mesi fa Da admin.
L'Argomento è stato bloccato.
  • Pagina:
  • 1
Moderatori: admin
Tempo generazione pagina: 0.82 secondi
Cerca con Google
News
Chi è online
 120 visitatori online
Sponsor

slotmachineaamsonline.com è una guida alle migliori slot machine online legali in Italia. Sul sito trovi un elenco sempre aggiornato dei casino online con Slot machine e bonus slot, le ultime novità dal mondo delle slot online e le migliori strategie per vincere. Inoltre, è disponibile una sezione dedicata alle slot machine da BAR che finalmente sono disponibili nella versione online.