SMF Support > SMF 2.0.x Support
My Site again isnt Showing Anything. Blank screen showing.
SwapsRulez:
Hi guys, i'm too scared & my site isnt working. Its showing blank & nothing. All pages are showing blank.
Here is my site.
http://www.project-bb.org/
also here is one page other than site index, its also showing blank.
http://www.project-bb.org/mechanical-engineering-seminar-topics/tyre-threading/
also the server isnt down, coz the below link from the site is showing & opening properly...
http://www.project-bb.org/agreement.txt
Actually the site was working well, but i done some edit in the subs.php & now site not showing anything.
The edit in subs.php are in bb tags of URL & iURL. But i think that isnt responsible for the problem. Correct me or that file if something is wrong in that.
Also my SMF version is 2.0 Beta 3.1.
i'm attaching my subs.php here. Please kindly loot at it. Thanks in advance.
Waiting for a kind reply. :(
redone:
Replace it with a clean unmodified copy. Better still if your testing stuff out then test out on a test or demo board rather than your main board.
SwapsRulez:
--- Quote from: RedOne on June 10, 2008, 09:06:05 AM ---Replace it with a clean unmodified copy. Better still if your testing stuff out then test out on a test or demo board rather than your main board.
--- End quote ---
But i do have many MODS installed now. & i cant replace the clean copy. Can you have a look at the file that what is actually wrong there. I've only changed & messed up to this area.
--- Code: --- array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? '<a href="#" class="bbc_link new_win" onclick="alert('You need to login or register to see the link. Thank you.')">$1</a>' : '<a href="$1" class="bbc_link">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? '<a href="#" class="bbc_link new_win" onclick="alert('You need to login or register to see the link. Thank you.')">$1</a><div style="visibility:hidden">' : '<a href="$1" class="bbc_link">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == \'#\')
$data = \'#post_\' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),
/* array(
'tag' => 'iurl',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '<a href="' . $scripturl . '?action=register">Register</a> or <a href="' . $scripturl . '?action=login">Login</a>' : '<a href="$1" class="bbc_link">$1</a>',
//'content' => '<a href="$1" class="bbc_link">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
array(
'tag' => 'iurl',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '<a href="' . $scripturl . '?action=register">Register</a> or <a href="' . $scripturl . '?action=login">Login</a><div style="visibility:hidden">' : '<a href="$1" class="bbc_link">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'validate' => create_function('&$tag, &$data, $disabled', '
if (substr($data, 0, 1) == \'#\')
$data = \'#post_\' . substr($data, 1);'),
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),
*/
--- End code ---
&
--- Code: --- array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? '<a href="#" class="bbc_link new_win" onclick="alert('You need to login or register to see the link. Thank you.')">$1</a>' : '<a href="$1" class="bbc_link new_win" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),
/* array(
'tag' => 'url',
'type' => 'unparsed_content',
'content' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '<a href="' . $scripturl . '?action=register">Register</a> or <a href="' . $scripturl . '?action=login">Login</a>' : '<a href="$1" class="bbc_link new_win" target="_blank">$1</a>',
'validate' => create_function('&$tag, &$data, $disabled', '$data = strtr($data, array(\'<br />\' => \'\'));'),
),*/
array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? '<a href="#" class="bbc_link new_win" onclick="alert('You need to login or register to see the link. Thank you.')">$1</a><div style="visibility:hidden">' : '<a href="$1" class="bbc_link new_win" target="_blank">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),
/* array(
'tag' => 'url',
'type' => 'unparsed_equals',
'before' => $user_info['is_guest'] ? $txt['no_view_links'] . "\n" . '<a href="' . $scripturl . '?action=register">Register</a> or <a href="' . $scripturl . '?action=login">Login</a><div style="visibility:hidden">' : '<a href="$1" class="bbc_link new_win" target="_blank">',
'after' => $user_info['is_guest'] ? '</div>' : '</a>',
'disallow_children' => array('email', 'ftp', 'url', 'iurl'),
'disabled_after' => $user_info['is_guest'] ? '' : ' ($1)',
),
*/
--- End code ---
Tell me what should i do with that. Which code should i write to work everything fine. :)
Anyways thanks for that nice & quick reply.
SwapsRulez:
Oops... solved... It didnt support the Javascript or might be /* */ Commenting. :P
KiLLuMiNaTi-7-:
--- Quote from: SwapsRulez on June 10, 2008, 10:00:27 AM ---Oops... solved... It didnt support the Javascript or might be /* */ Commenting. :P
--- End quote ---
Hey mate i suggest you put Theme by DzinerStudio back at the bottom. Its a kind way to say thank you for the theme.
Navigation
[0] Message Index
[#] Next page
Go to full version