|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
pares error phpmyadmin
does anybody know why I would get this error
Parse error: parse error, unexpected T_REQUIRE in /www/x/xxx/htdocs/phpmyadmin/tbl_replace.php on line 8 I have made no changes to any of the scripts or files in phpmyadmin. Last night I was editing tables till I was blue in the face, this morning I logged into it and tried to change a table and this is the error I recieved? |
|
#2
|
|||
|
|||
|
RE: pares error phpmyadmin
what's on line 8?
|
|
#3
|
|||
|
|||
|
RE: pares error phpmyadmin
Line 8 is
require('./libraries/grab_globals.lib.php'); I checked in libraries to see if that file was there, and it is where it should be. |
|
#4
|
|||
|
|||
|
RE: pares error phpmyadmin
could you post the first 10 or so lines? it sounds as though you've got some inproper syntax
|
|
#5
|
|||
|
|||
|
RE: pares error phpmyadmin
Here are the first 15 lines
<?p /* $Id: tbl_replace.php,v 1.51 2002/03/29 19:03:23 loic1 Exp $ */ /** * Gets some core libraries */ require('./libraries/grab_globals.lib.php'); require('./libraries/common.lib.php'); /** * Initializes some variables */ // Defines the url to return in case of success of the query |
|
#6
|
|||
|
|||
|
RE: pares error phpmyadmin
i'm lost.. try require_once or switching to include or changing your single quotes to double quotes.
if you didn't change anything though i really have no clue why it would just start out of nowhere. |
|
#7
|
|||
|
|||
|
RE: RE: pares error phpmyadmin
Quote:
I cannot figure out why this happened, I didnt change anything, I checked the access logs and no body else accessed it. So I give up, and upgrade to the script and it works just fine. Hopefully it will not repeat itself. Thanks any way. Aaron |
|
#8
|
|||
|
|||
|
RE: pares error phpmyadmin
i'd report the error to whoever wrote the script, maybe they will have more feedback for you. sorry i couldn't help
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > pares error phpmyadmin |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|