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
Please could you state the full error please as you ain't given us the full like Parse Error etc..
Sorry about that,
it is "Parse error: parse error, unexpected $ in /home/nigerian/public_html/Sources/Load.php on line 1607"
Please could you supply us with line 1600 to 1610
i can't identify the lines. it is not numbered. can you help me without it?
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
Open the file in something like dreamweaver in code view then paste those lines :P
am kind of consfused. i dont have dreamweaver, but i have frontpage. i copied it there but it is still not showing line nos
Could you just supply us with a text file containing the template code :P
i think i can do that
I see an image bbcode in use.
Try uploading it to your website & post a link.
www.nigerianminds.com/sources/load.php
thanks
In txt format please :P
it should be www.nigerianminds.com/load.txt it is not loading yet. i think i need to give it sometime
If you want it to be easier,go to "View" - "Status Bar" in notepad & pick out the lines :P
it is kind of silly but viewing the status bar is not solving the problem
Use it to pick out the lines that the error is coming from and post those lines here please :P
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
Still waiting
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
thanks very much, really do appreciate it
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
If you uploaded load.txt to your sources,rename it to load.php :P
"Unexpected $" means the file didn't get uploaded completely. Delete Load.php from the Sources directory and re-upload it.
Thanks all, had to re-upload the entire 'source' folder and i think that makes it better