Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

gives eroor message during installation

Aloittaja slybase, kesäkuu 09, 2006, 12:53:36 IP

« edellinen - seuraava »

slybase

SMF Version: SMF 1.1 RC2
I have installed a copy of 1.1RC2 and i keep getting an error message:
"/public_html/Sources/Load.php on line 1607"...i am new on scripts.

i tried re-uploading and re-installing but i keep getting the same message

J. Williams

Please could you state the full error please as you ain't given us the full like Parse Error etc..
Joshua Jon Williams
Back in Action.

slybase

Sorry about that,
it is "Parse error: parse error, unexpected $ in /home/nigerian/public_html/Sources/Load.php on line 1607"

J. Williams

Please could you supply us with line 1600 to 1610
Joshua Jon Williams
Back in Action.

slybase

i can't identify the lines. it is not numbered. can you help me without it?















slybase

Lainaus käyttäjältä: slybase - kesäkuu 10, 2006, 09:32:00 AP
i can't identify the lines. it is not numbered. can you help me without it?


i really don't know how to get the line no.......it is not numbered...................pls remember, i know next to nothing about php















J. Williams

Open the file in something like dreamweaver in code view then paste those lines :P
Joshua Jon Williams
Back in Action.

slybase

am kind of consfused. i dont have dreamweaver, but i have frontpage. i copied it there but it is still not showing line nos

J. Williams

Could you just supply us with a text file containing the template code :P
Joshua Jon Williams
Back in Action.

slybase


J. Williams

I see an image bbcode in use.

Try uploading it to your website & post a link.
Joshua Jon Williams
Back in Action.


J. Williams

Joshua Jon Williams
Back in Action.

slybase

it should be www.nigerianminds.com/load.txt [nofollow] it is not loading yet. i think i need to give it sometime

J. Williams

If you want it to be easier,go to "View" - "Status Bar" in notepad & pick out the lines :P
Joshua Jon Williams
Back in Action.

slybase

#15
it is kind of silly but viewing the status bar is not solving the problem

J. Williams

Use it to pick out the lines that the error is coming from and post those lines here please :P
Joshua Jon Williams
Back in Action.

slybase

THese are lines 1600-1611. I got it from the Cpanel. thanks very much for the understanding


global $language_dir, $user_info, $boardurl, $boarddir, $sourcedir;
   global $maintenance, $mtitle, $mmessage;
   static $templates = array();

   // We want to be able to figure out any errors...
   @ini_set('track_errors', '1');

   // Don't include the file more than once, if $once is true.
   if ($once && in_array($filename, $templates))
      return;
   // Add this file to the include list, whether $once is true or not.
   else

slybase


J. Williams

It seems you've got a bad load.php as lines 1600-1611 for me are:

   // Add this file to the include list, whether $once is true or not.
else
$templates[] = $filename;

// Are we going to use eval?
if (empty($modSettings['disableTemplateEval']))
{
$file_found = file_exists($filename) && eval('?' . '>' . rtrim(file_get_contents($filename))) !== false;
$settings['current_include_filename'] = $filename;
}
else
{


Try replacing your current load.php content with the code from this text document - http://www.jjwmedia.ig3.net/load.txt
Joshua Jon Williams
Back in Action.

Advertisement: