Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: slybase - kesäkuu 09, 2006, 12:53:36 IP

Otsikko: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 09, 2006, 12:53:36 IP
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
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 09, 2006, 12:59:36 IP
Please could you state the full error please as you ain't given us the full like Parse Error etc..
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 09, 2006, 01:03:16 IP
Sorry about that,
it is "Parse error: parse error, unexpected $ in /home/nigerian/public_html/Sources/Load.php on line 1607"
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 09, 2006, 02:12:42 IP
Please could you supply us with line 1600 to 1610
Otsikko: Re: gives eroor message during installation
Kirjoitti: 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?














Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 10, 2006, 10:17:18 AP
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














Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 10, 2006, 10:23:21 AP
Open the file in something like dreamweaver in code view then paste those lines :P
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 10, 2006, 10:37:52 AP
am kind of consfused. i dont have dreamweaver, but i have frontpage. i copied it there but it is still not showing line nos
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 10, 2006, 10:58:27 AP
Could you just supply us with a text file containing the template code :P
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 10, 2006, 11:12:04 AP
i think i can do that(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fc%3A%2Fload.txt&hash=04ab19e10effd30f36b2e8cde33e38a0dce1557e)
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 10, 2006, 11:13:37 AP
I see an image bbcode in use.

Try uploading it to your website & post a link.
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 10, 2006, 11:15:33 AP
www.nigerianminds.com/sources/load.php

thanks
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 10, 2006, 11:16:33 AP
In txt format please :P
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 10, 2006, 11:23:32 AP
it should be www.nigerianminds.com/load.txt it is not loading yet. i think i need to give it sometime
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 10, 2006, 11:28:08 AP
If you want it to be easier,go to "View" - "Status Bar" in notepad & pick out the lines :P
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 10, 2006, 04:43:19 IP
it is kind of silly but viewing the status bar is not solving the problem
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 10, 2006, 04:46:55 IP
Use it to pick out the lines that the error is coming from and post those lines here please :P
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 10, 2006, 04:57:54 IP
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
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 11, 2006, 08:06:17 AP
Still waiting
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 11, 2006, 08:20:18 AP
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
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 11, 2006, 08:49:01 AP
thanks very much, really do appreciate it
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 11, 2006, 12:05:04 IP
i hate having to do this but i get another error message now, it is

Warning: dostep2(/home/nigerian/public_html/Sources/Load.php): failed to open stream: No such file or directory in /home/nigerian/public_html/install.php on line 871

Fatal error: dostep2(): Failed opening required '/home/nigerian/public_html/Sources/Load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nigerian/public_html/install.php on line 871


sorry about the disturbances, but hope you can help
Otsikko: Re: gives eroor message during installation
Kirjoitti: J. Williams - kesäkuu 11, 2006, 01:38:50 IP
If you uploaded load.txt to your sources,rename it to load.php :P
Otsikko: Re: gives eroor message during installation
Kirjoitti: Oldiesmann - kesäkuu 11, 2006, 07:17:58 IP
"Unexpected $" means the file didn't get uploaded completely. Delete Load.php from the Sources directory and re-upload it.
Otsikko: Re: gives eroor message during installation
Kirjoitti: slybase - kesäkuu 21, 2006, 06:01:13 AP
Thanks all, had to re-upload the entire 'source' folder and i think that makes it better