Jump to content

thesunlover

Members
  • Posts

    18
  • Joined

  • Last visited

thesunlover's Achievements

Member

Member (2/5)

0

Reputation

  1. Thanks for the info. I think Discuz! is not stable in business and technique. I am thinking to transition the forum from Discuz! to WordPress if possible. Now I am trying to find and hire a php professional from upwork.
  2. Hi Guys, Thank you very much again for your help. You are just great! As a system admin, this issue is too hard for me. If there is no simple solution, I will have to hire a PHP programmer to do the troubleshooting. Regards,
  3. Yes. php 7x is still available. I will try it again after the web is back online from restoration. Thanks!
  4. I will do it - replace all ?'.'> with ?> ---------------------------------------------------------------- The web is down with error 500. Errors are reported in the sitelock scanning log. Here are all of them: [22-Apr-2022 21:58:09 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_articlelist.tpl.php on line 19 [22-Apr-2022 21:58:26 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_articlelist.tpl.php on line 19 [22-Apr-2022 21:58:28 UTC] PHP Parse error: syntax error, unexpected '?' in /home/public_html/forumdata/templates/1_viewthread.tpl.php on line 9 [22-Apr-2022 21:59:26 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_viewthread_printable.tpl.php on line 16 [22-Apr-2022 22:00:12 UTC] PHP Parse error: syntax error, unexpected '?' in /home/public_html/forumdata/templates/1_viewthread.tpl.php on line 9 [22-Apr-2022 22:00:54 UTC] PHP Parse error: syntax error, unexpected '?' in /home/public_html/forumdata/templates/1_viewthread.tpl.php on line 9 [22-Apr-2022 22:00:54 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_articlelist.tpl.php on line 19 [22-Apr-2022 22:01:11 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_showmessage.tpl.php on line 7 [22-Apr-2022 22:01:33 UTC] PHP Parse error: syntax error, unexpected '?' in /home/public_html/forumdata/templates/1_viewthread.tpl.php on line 9 [22-Apr-2022 22:02:53 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_blog.tpl.php on line 19 [22-Apr-2022 22:02:59 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_showmessage.tpl.php on line 7 [22-Apr-2022 22:03:15 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_articlelist.tpl.php on line 19 [22-Apr-2022 22:03:53 UTC] PHP Parse error: syntax error, unexpected '<' in /home/public_html/forumdata/templates/1_showmessage.tpl.php on line 7 Error
  5. More info: The web was reviewed and revised by a PHP/SQL programmer in order to be comparable with PHP 7x two years ago. It has been working fine until PHP 8 is applied recently by the host. Now it seems not working with php 7 for unknown reasons.
  6. Hi gizmola, Thank you much for the info. I've located the php.ini file by using your way. Here is the result: [~/public_html]# grep short_open_tag /opt/cpanel/ea-php80/root/etc/php.ini ; short_open_tag short_open_tag = On short_open_tag is on.
  7. I will try it when the web is back online from restoration. Thank you!
  8. This troubleshooting method is somewhat hard for me unfortunately 😞. I am a Linux system admin and the only language (if it can be called a language) is shell scripting.
  9. It looks like that the setting is already set on. See this: [~/public_html]# grep short_open_tag php.ini ; short_open_tag short_open_tag = On
  10. Would you please give me some details about how to enable them in php.ini? Here is what I got, that I don't know if useful: short_open_tag bool Tells PHP whether the short form (<? ?>) of PHP's open tag should be allowed. If you want to use PHP in combination with XML, you can disable this option in order to use <?xml ?> inline. Otherwise, you can print it with PHP, for example: <?php echo '<?xml version="1.0"?>'; ?>. Also, if disabled, you must use the long form of the PHP open tag (<?php ?>). https://www.php.net/manual/en/ini.core.php
  11. I totally agree with you, but it needs time and money.
  12. Very good point. Thank you! Here is the code: 1 <? if(!defined('IN_DISCUZ')) exit('Access Denied'); ?><html> 2 <head> 3 <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" /> 4 <meta http-equiv="MSThemeCompatible" content="Yes" /> 5 <meta name="description" content="" /> 6 <meta name="keywords" content="" /> 7 <meta name="MSSmartTagsPreventParsing" content="TRUE" /> 8 <!-- --------------------------------------------------------- 9 10 11 COPYRIGHT ?Yidian.com. All Rights Reserved. 12 2006-03-30 socool.ca designed by dream 13 14 -------------------------------------------------------------- --> 15 <?include template('css'); ?> 16 <script type="text/javascript" src="include/common.js"></script> 17 addquote('<?=$url_redirect?'.'>') 18 19 <title>addquote('<?=$bbname?'.'>')addquote('<?=$navtitle?'.'>')</title> 20 <link href="include/mh_css_6.css" type="text/css" rel="stylesheet"> 21 </head> 22 <body>
  13. The web is totally down now under PHP 7 and 8 (5 is unavailable). It was running well under 5. Thanks.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.