Fatal error

Started by macut18, October 05, 2015, 10:02:27 PM

Previous topic - Next topic

macut18

I log on to the Web

Access Account Settings are not any.

The problem is that >> Fatal error: calling mail() from eval() is not allowed. in /home/blackloa/public_html/blackloadgame.com/forum/Sources/Profile-Modify.php on line 300

Sir Osis of Liver

Which mods are you running?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

macut18


Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters


Sir Osis of Liver

Don't see anything that should affect Profile-Modify.php.  There's nothing at line 300 in original file that could cause that error.  Attach your Profile-Modify.php, let's have a look.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

macut18

Quote from: Sir Osis of Liver on October 05, 2015, 11:18:39 PM
Don't see anything that should affect Profile-Modify.php.  There's nothing at line 300 in original file that could cause that error.  Attach your Profile-Modify.php, let's have a look.

Profile-Modify.php

Sir Osis of Liver

Nothing wrong with your file, works fine on test install.  Your forum is very customized, have you changed anything recently?  Go to Admin -> Server Settings -> Disable evaluation of templates, check that, see what's in your error log.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

macut18

Quote from: Sir Osis of Liver on October 06, 2015, 12:34:33 AM
Nothing wrong with your file, works fine on test install.  Your forum is very customized, have you changed anything recently?  Go to Admin -> Server Settings -> Disable evaluation of templates, check that, see what's in your error log.



556:                  if(!empty($srcPic))
557: echo '<div class="boxpGal">
558:                                 <div class="viewAllpic"><a href="'.$topic.'" target="_blank"><img src="'.$srcPic.'" width="124" height="134" alt="" /></a></div>
559:
560:
561: </div>';
562: }
563: }
564: function pic_show($topic,$w,$h){
565: global $db_prefix, $scripturl, $smcFunc, $settings, $txt;
566: $request = $smcFunc['db_query']('', '
567: SELECT t.id_topic,m.body,m.subject,m.id_msg
568: FROM {db_prefix}messages m,{db_prefix}topics t
569: WHERE t.id_first_msg=m.id_msg AND t.id_topic='.$topic.'
570:
571: LIMIT 1',
572: array(
573: )
574: );
575: $posts = array();
==>576: $url_board = $scripturl."?board=".$board;
577: while ($row = $smcFunc['db_fetch_assoc']($request))
578: {
579: $topic = $scripturl."?topic=".$row['id_topic'];
580: $srcIMG = findIMG($row['body']);
581: $subject = $row['subject'];
582:
583: echo'<div>';
584: echo'<a href="'.$topic.'" target="_blank"><img alt="" class="img_fade" ';
585: if(!empty($srcIMG))
586: echo 'src="'.$srcIMG.'" ';
587: else
588: echo'src="', $settings['images_url'], '/no_image.png" ';
589:
590: echo'width="'.$w.'" height="'.$h.'" ></a>
591: ';
592:
593:
594: echo'</div>';
595:
596: }

macut18

Quote from: Sir Osis of Liver on October 06, 2015, 12:34:33 AM
Nothing wrong with your file, works fine on test install.  Your forum is very customized, have you changed anything recently?  Go to Admin -> Server Settings -> Disable evaluation of templates, check that, see what's in your error log.

536: }
537: echo '
538: </table>
539: </div>';
540:
541: if ($context['user']['is_logged'])
542: {
543: echo '
544: <div id="posting_icons" class="floatleft">';
545:
546: // Mark read button.
547: $mark_read_button = array(
548: 'markread' => array('text' => 'mark_as_read', 'image' => 'markread.gif', 'lang' => true, 'url' => $scripturl . '?action=markasread;sa=all;' . $context['session_var'] . '=' . $context['session_id']),
549: );
550:
551: echo '
552:
553: </div>';
554:
555:         // Show the mark all as read button?
==>556: if ($settings[''] && !empty($context['']))
557: echo '<div class="mark_read">', template_button_strip($mark_read_button, 'right'), '</div>';
558: }
559: else
560: {
561: echo '
562: <div id="posting_icons" class="flow_hidden">
563: <ul class="reset">
564:
565: </ul>
566: </div>';
567: }
568:
569: template_info_center();
570: }
571: function recent_post()
572: {
573: global $context, $settings, $options, $txt, $scripturl, $modSettings;
574: // This is the "Recent Posts" bar.
575: if (!empty($settings['number_recent_posts']) && (!empty($context['latest_posts']) || !empty($context['latest_post'])))
576: {

Kindred

what are those clips of code?

Those clips have nothing at all to do with the error that you posted.   The error that you posted indicates a failure to call the mail() function.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

macut18

Thanks for the help

I was corrected my host

Kindred

Ah...     Are you saying that the issue was that your HOST was blocking the use of the mail() function?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: