View previous topic :: View next topic |
Author |
Message |
puertoblack2003 -
Joined: 08 Oct 2006 Posts: 87
|
Posted: Sat Sep 29, 2007 4:41 am Post subject: Scripts Writing error |
|
|
ok guys this just popped ou tof of no were and the only thing i did was updated phpmyadmin can anyone help and tell me what that is.
Quote: | input->clean_array_gpc('r', array( 'interceptedURL' => TYPE_STR )); $url = $vbulletin->GPC['interceptedURL']; $urlcheck = @parse_url($url); $urlcheckport = intval($urlcheck['port']); $urlcheckhost = $urlcheck['host'] . (!empty($urlcheckport) ? ":$urlcheckport" : ''); $homeurl = @parse_url($vbulletin->options['homeurl']); $homeurlport = intval($homeurl['port']); $homeurlhost = $homeurl['host'] . (!empty($homeurlport) ? ":$urlcheckport" : ''); $homeurlhost = str_replace('www.', '', $homeurlhost); $urlcheckhost = str_replace('www.', '', $urlcheckhost); $correcturl = str_replace('interceptedURL=', '', $_SERVER['QUERY_STRING']); if ($homeurlhost==$urlcheckhost) { exec_header_redirect($correcturl); } else { $urlchecked = $correcturl; $navbits[''] = $vbphrase['vbulletin_message']; // make navbar $navbits = construct_navbits($navbits); eval('$navbar = "' . fetch_template('navbar') . '";'); eval('print_output("' . fetch_template('RLI_error_message') . '");'); } ?> |
thanks pb |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Sep 29, 2007 12:25 pm Post subject: Re: Scripts Writing error |
|
|
puertoblack2003,
It looks like a broken PHP file. Try reinstalling PHPMyAdmin. If the problem persists, try with an older version of that script. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
puertoblack2003 -
Joined: 08 Oct 2006 Posts: 87
|
Posted: Sun Sep 30, 2007 6:45 pm Post subject: |
|
|
yes i thought that myself but is not.I notice that if i go to certain directory that is php files in it and all i get the directory listing and that should be like that
lets say i go to wwwyoururl.com/forum then it should take me to a page.But in my case certain directory is showing the files..any idea where to look? |
|
Back to top |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Sun Sep 30, 2007 8:20 pm Post subject: |
|
|
Do you have index.php set as an index file? _________________ -Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados. |
|
Back to top |
|
|
|