Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Maxtor Posted September 17, 2017 Posted September 17, 2017 Can anyone help me on how to make a custom landing page work with Pages? i have tried with copy paste my code into a custom page and i get this error: ParseError: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) (0) #0 /home/maxtor99/public_html/system/Theme/Theme.php(4277): IPS\_Theme::runProcessFunction('\tfunction uniqu...', 'unique_function...') #1 /home/maxtor99/public_html/system/Theme/Theme.php(4252): IPS\_Theme::makeProcessFunction('<?php\r\n\tinclude...', 'unique_function...', '') #2 /home/maxtor99/public_html/applications/cms/sources/Pages/Page.php(762): IPS\_Theme::checkTemplateSyntax('<?php\r\n\tinclude...') #3 [internal function]: IPS\cms\Pages\_Page::IPS\cms\Pages\{closure}('<?php\r\n\tinclude...') #4 /home/maxtor99/public_html/system/Helpers/Form/FormAbstract.php(365): call_user_func(Object(Closure), '<?php\r\n\tinclude...') #5 /home/maxtor99/public_html/system/Helpers/Form/TextArea.php(113): IPS\Helpers\Form\_FormAbstract->validate() #6 /home/maxtor99/public_html/system/Helpers/Form/FormAbstract.php(165): IPS\Helpers\Form\_TextArea->validate() #7 /home/maxtor99/public_html/system/Helpers/Form/FormAbstract.php(142): IPS\Helpers\Form\_FormAbstract->setValue(true) #8 [internal function]: IPS\Helpers\Form\_FormAbstract->__construct('page_content', 'redirect', false, Array, Object(Closure), NULL, NULL, 'page_content') #9 /home/maxtor99/public_html/system/Helpers/Form/TextArea.php(60): call_user_func_array('parent::__const...', Array) #10 [internal function]: IPS\Helpers\Form\_TextArea->__construct('page_content', 'redirect', false, Array, Object(Closure), NULL, NULL, 'page_content') #11 /home/maxtor99/public_html/system/Helpers/Form/Codemirror.php(60): call_user_func_array('parent::__const...', Array) #12 /home/maxtor99/public_html/applications/cms/sources/Pages/Page.php(797): IPS\Helpers\Form\_Codemirror->__construct('page_content', 'redirect', false, Array, Object(Closure), NULL, NULL, 'page_content') #13 /home/maxtor99/public_html/applications/cms/sources/Pages/Page.php(1396): IPS\cms\Pages\_Page::formElements(Object(IPS\cms\Pages\Page)) #14 /home/maxtor99/public_html/system/Node/Controller.php(467): IPS\cms\Pages\_Page->form(Object(IPS\Helpers\Form)) #15 /home/maxtor99/public_html/init.php(448) : eval()'d code(15): IPS\Node\_Controller->_addEditForm(Object(IPS\cms\Pages\Page)) #16 /home/maxtor99/public_html/system/Node/Controller.php(366): IPS\Node\advancedtagsprefixes_hook_nodeSettings->_addEditForm(Object(IPS\cms\Pages\Page)) #17 /home/maxtor99/public_html/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form() #18 /home/maxtor99/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #19 /home/maxtor99/public_html/applications/cms/modules/admin/pages/pages.php(45): IPS\Node\_Controller->execute() #20 /home/maxtor99/public_html/system/Dispatcher/Dispatcher.php(146): IPS\cms\modules\admin\pages\_pages->execute() #21 /home/maxtor99/public_html/admin/index.php(13): IPS\_Dispatcher->run() #22 {main}
opentype Posted September 17, 2017 Posted September 17, 2017 Well, there is a syntax error in the code, but we don’t know the code. So not sure how we could help.
Maxtor Posted September 17, 2017 Author Posted September 17, 2017 3 minutes ago, opentype said: Well, there is a syntax error in the code, but we don’t know the code. So not sure how we could help. <?php include('config.php') ?> <!DOCTYPE HTML> <html> <head> <title>L2MaxCheaters - Welcome</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="L2MXC - Lineage 2 Private Server"> <meta name="keywords" content="l2, lineage, lineage2, server, servers, project, lineageii, projects, multiple, pvp, mid, low, h5, high-five, high, five, highfive, t0, interlude, c6"> <meta name="author" content="Strain, Falconhq" /> <link rel="shortcut icon" href="./favicon.ico?1"> <link rel="stylesheet" href="landing/style/style.css?1.2"> <link rel="stylesheet" href="landing/style/hover.css"> <link rel="stylesheet" href="landing/style/animate.css"> <script src="landing/library/jquery-3.2.1.min.js?1"></script> </head> <body> <div class="wrapper"> <a href="#" class="logo"></a> <div class="promo_vid"><div class="frame"></div><div class="video"><iframe width="460" height="260" src="https://www.youtube.com/embed/umvDmWj82ig" frameborder="0" allowfullscreen></iframe></div></div> <div class="maxcheaters"><div class="mxcl"></div><div class="mxcf"></div><div class="mxcg" style="animation:pulse 1.3s infinite"><a href="http://maxcheaters.com" target="_blank">MaxCheaters.com</a></div></div> <div class="extra"> <div class="clock"><div class="clt">Open beta test</div><div class="cd"><div id="countdown"></div></div></div> <div class="website hvr-pop"><a href="http://l2mxc.com" target="_blank"><h2>L2Mxc</h2><h1>Website</h1></a></div> <div class="forum hvr-pop"><a href="http://l2mxc.com/forum/" target="_blank"><h2>L2Mxc</h2><h1>Forum</h1></a></div> </div> <div class="polls"> <div id="first-poll" class="box"> <?php $ip_on_poll_1_sql = "SELECT COUNT(*) FROM poll1 WHERE ip_adress=:ip_adress"; $ip_on_poll_1 = $conn->prepare($ip_on_poll_1_sql); $ip_on_poll_1->bindParam(':ip_adress', $_SERVER['REMOTE_ADDR']); $ip_on_poll_1->execute(); $ip_on_poll_1 = $ip_on_poll_1->fetchColumn(); ?> <div class="name">How many castles should be siegable at start of the server?</div> <?php if (!isset($_COOKIE['poll_1']) && $ip_on_poll_1 == 0) { ?> <form action="vote_handler.php" method="POST"> <ul class="poll-vote-list"> <li><input id="castle-1" type="radio" name="poll1" value="1"><label for="castle-1"></label><p>4 Castles (Giran, Aden, Innadril and Rune)</p></li> <li><input id="castle-2" type="radio" name="poll1" value="2"><label for="castle-2"></label><p>5 Castles (Giran, Aden, Innadril Rune and Dion)</p></li> <li><input id="castle-3" type="radio" name="poll1" value="3"><label for="castle-3"></label><p>6 Castles (Giran, Aden, Innadril Rune, Dion and Goddard)</p></li> <li><input id="castle-4" type="radio" name="poll1" value="4"><label for="castle-4"></label><p>9 - All the Castles should be Siegable</p></li> </ul> <div class="submit"> <input type="submit" name="submit_1" class="poll_button" value="Vote now"> </div> </form> <?php } else { ?> <style> .poll-results-list { display:block; } .percentage { color:#6dda00; display: inline; } </style> <?php $poll_data_1_sql = "SELECT vote FROM poll1"; $poll_data_1 = $conn->prepare($poll_data_1_sql); $poll_data_1->execute(); $poll_data_1_num = $poll_data_1->rowCount(); while ($poll_results_1 = $poll_data_1->fetch()) { if ($poll_results_1['vote'] == '1') { $poll_1_a = $poll_1_a + 1; } if ($poll_results_1['vote'] == '2') { $poll_1_b = $poll_1_b + 1; } if ($poll_results_1['vote'] == '3') { $poll_1_c = $poll_1_c + 1; } if ($poll_results_1['vote'] == '4') { $poll_1_d = $poll_1_d + 1; } } $poll_1_a_perc = round(($poll_1_a * 100) / $poll_data_1_num); $poll_1_b_perc = round(($poll_1_b * 100) / $poll_data_1_num); $poll_1_c_perc = round(($poll_1_c * 100) / $poll_data_1_num); $poll_1_d_perc = round(($poll_1_d * 100) / $poll_data_1_num); ?> <ul class="poll-vote-list"> <li><input id="castle-1" type="radio" name="poll1" value="1"><label for="castle-1"></label><p>4 Castles: <?php echo $poll_1_a_perc; ?>%</p></li> <li><input id="castle-2" type="radio" name="poll1" value="2"><label for="castle-2"></label><p>5 Castles: <?php echo $poll_1_b_perc; ?>%</p></li> <li><input id="castle-3" type="radio" name="poll1" value="3"><label for="castle-3"></label><p>6 Castles: <?php echo $poll_1_c_perc; ?>%</p></li> <li><input id="castle-4" type="radio" name="poll1" value="4"><label for="castle-4"></label><p>9 Castles: <?php echo $poll_1_d_perc; ?>%</p></li> </ul> <div class="totalvote">TOTAL VOTES: <?php echo $poll_data_1_num; ?></div> <?php } ?> </div> <div id="second-poll" class="box"> <?php $ip_on_poll_2_sql = "SELECT COUNT(*) FROM poll2 WHERE ip_adress=:ip_adress"; $ip_on_poll_2 = $conn->prepare($ip_on_poll_2_sql); $ip_on_poll_2->bindParam(':ip_adress', $_SERVER['REMOTE_ADDR']); $ip_on_poll_2->execute(); $ip_on_poll_2 = $ip_on_poll_2->fetchColumn(); ?> <div class="name">How many maximum members each clan should have?</div> <?php if (!isset($_COOKIE['poll_2']) && $ip_on_poll_2 == 0) { ?> <form action="vote_handler.php" method="POST"> <ul class="poll-vote-list2"> <li><input id="clan-1" type="radio" name="poll2" value="1"><label for="clan-1"></label><p>36 (Including Academy + 2 Clans total per alliance)</p></li> <li><input id="clan-2" type="radio" name="poll2" value="2"><label for="clan-2"></label><p>45 (Including Academy + 2 Clans total per alliance)</p></li> <li><input id="clan-3" type="radio" name="poll2" value="3"><label for="clan-3"></label><p>36 (Including Academy + NO Alliances allowed)</p></li> <li><input id="clan-4" type="radio" name="poll2" value="4"><label for="clan-4"></label><p>45 (Including Academy + NO Alliances allowed)</p></li> </ul> <div class="vote-button clearfix"> <input type="submit" name="submit_2" class="poll_button" value="Vote now!"> </div> </form> <?php } else { ?> <style> .poll-results-list { display:block; } .percentage { color:#6dda00; display: inline; } </style> <?php $poll_data_2_sql = "SELECT vote FROM poll2"; $poll_data_2 = $conn->prepare($poll_data_2_sql); $poll_data_2->execute(); $poll_data_2_num = $poll_data_2->rowCount(); while ($poll_results_2 = $poll_data_2->fetch()) { if ($poll_results_2['vote'] == '1') { $poll_2_a = $poll_2_a + 1; } if ($poll_results_2['vote'] == '2') { $poll_2_b = $poll_2_b + 1; } if ($poll_results_2['vote'] == '3') { $poll_2_c = $poll_2_c + 1; } if ($poll_results_2['vote'] == '4') { $poll_2_d = $poll_2_d + 1; } } $poll_2_a_perc = round(($poll_2_a * 100) / $poll_data_2_num); $poll_2_b_perc = round(($poll_2_b * 100) / $poll_data_2_num); $poll_2_c_perc = round(($poll_2_c * 100) / $poll_data_2_num); $poll_2_d_perc = round(($poll_2_d * 100) / $poll_data_2_num); ?> <ul class="poll-vote-list"> <li><input id="clan-1" type="radio" name="poll2" value="1"><label for="clan-1"></label><p>36 & 2 Clans in Alliance: <?php echo $poll_2_a_perc; ?>%</p></li> <li><input id="clan-2" type="radio" name="poll2" value="2"><label for="clan-2"></label><p>45 & 2 Clans in Alliance: <?php echo $poll_2_b_perc; ?>%</p></li> <li><input id="clan-3" type="radio" name="poll2" value="3"><label for="clan-3"></label><p>36 & No Alliances: <?php echo $poll_2_c_perc; ?>%</p></li> <li><input id="clan-4" type="radio" name="poll2" value="4"><label for="clan-4"></label><p>45 & No Alliances: <?php echo $poll_2_d_perc; ?>%</p></li> </ul> <div class="totalvote">TOTAL VOTES: <?php echo $poll_data_2_num; ?></div> <?php } ?> </div> <div id="third-poll" class="box"> <?php $ip_on_poll_3_sql = "SELECT COUNT(*) FROM poll3 WHERE ip_adress=:ip_adress"; $ip_on_poll_3 = $conn->prepare($ip_on_poll_3_sql); $ip_on_poll_3->bindParam(':ip_adress', $_SERVER['REMOTE_ADDR']); $ip_on_poll_3->execute(); $ip_on_poll_3 = $ip_on_poll_3->fetchColumn(); ?> <div class="name">Would you like players who are at war with you to have orange nicks?</div> <?php if (!isset($_COOKIE['poll_3']) && $ip_on_poll_3 == 0) { ?> <form action="vote_handler.php" method="POST"> <ul class="poll-vote-list3"> <li><input id="other-1" type="radio" name="poll3" value="1"><label for="other-1"></label><p>Yes, its a nice idea like C5 Chronicle.</p></li> <li><input id="other-2" type="radio" name="poll3" value="2"><label for="other-2"></label><p>Nope, <br/>better keep it retail.</p></li> </ul> <div class="vote-button clearfix"> <input type="submit" name="submit_3" class="poll_button" value="Vote now!"> </div> </form> <?php } else { ?> <style> .poll-results-list { display:block; } .percentage { color:#6dda00; display: inline; } </style> <?php $poll_data_3_sql = "SELECT vote FROM poll3"; $poll_data_3 = $conn->prepare($poll_data_3_sql); $poll_data_3->execute(); $poll_data_3_num = $poll_data_3->rowCount(); while ($poll_results_3 = $poll_data_3->fetch()) { if ($poll_results_3['vote'] == '1') { $poll_3_a = $poll_3_a + 1; } if ($poll_results_3['vote'] == '2') { $poll_3_b = $poll_3_b + 1; } if ($poll_results_3['vote'] == '3') { $poll_3_c = $poll_3_c + 1; } if ($poll_results_3['vote'] == '4') { $poll_3_d = $poll_3_d + 1; } } $poll_3_a_perc = round(($poll_3_a * 100) / $poll_data_3_num); $poll_3_b_perc = round(($poll_3_b * 100) / $poll_data_3_num); $poll_3_c_perc = round(($poll_3_c * 100) / $poll_data_3_num); $poll_3_d_perc = round(($poll_3_d * 100) / $poll_data_3_num); ?> <ul class="poll-vote-list"> <li><input id="other-1" type="radio" name="poll3" value="1"><label for="castle-1"></label><p>Yes: <?php echo $poll_3_a_perc; ?>%</p></li> <li><input id="other-2" type="radio" name="poll3" value="2"><label for="castle-2"></label><p>No: <?php echo $poll_3_b_perc; ?>%</p></li> </ul> <div class="totalvote">TOTAL VOTES: <?php echo $poll_data_3_num; ?></div> <?php } ?> </div> </div> <div class="footer"> <h1>COPYRIGHT © 2017 L2MXC.COM - CODED BY <a href="http://www.falconhq.eu/" target="_blank" alt="">FALCONHQ</a> & DESIGNED BY <a href="skype:frstrain?chat" alt="">STRAIN</a></h1> <h2>LINEAGE II AND ALL ASSOCIATED LOGOS AND DESIGNS ARE TRADEMARKS OR REGISTERED TRADEMARKS OF NCSOFT CORPORATION.</h2> <h2>ALL OTHER TRADEMARKS OR REGISTERED TRADEMARKS ARE PROPERTY OF THEIR RESPECTIVE OWNERS.</h2> </div> </div> <!-- External scripts --> <script src="landing/library/smoothscroll.js"></script> <script src="landing/library/jquery.countdown.min.js"></script> <script src="landing/library/moment-with-locales.min.js"></script> <script src="landing/library/moment-timezone-with-data-2010-2020.js"></script> <script type="text/javascript"> var serverStart = moment.tz("2017-09-24 20:00", "Europe/Vilnius"); var currTime = new Date(); $('#countdown').countdown(serverStart.toDate()) .on('update.countdown', function(event) { var totalHours = event.offset.totalDays * 24 + event.offset.hours; $(this).html(event.strftime('<ul class="countdown"><li><span class="minutes">%D</span></li><li>:</li><li><span class="hours">%H</span></li><li>:</li><li><span class="minutes">%M</span></li><li>:</li><li><span class="seconds">%S</span></li></ul>')); }) .on('finish.countdown',function(event) { $(this).html("<div class='server'>Started</div>"); }); $(window).load(function(){ $('body').on('click', '.first-poll .results-trigger', function() { $('.first-poll .poll-vote-list').fadeOut(500); $('.first-poll .poll-results-list').delay(500).fadeIn(500); $(this).hide(); $('.first-poll .poll-results-list li .percentage').each(function() { var value = $(this).text(); $(this).closest('li').find('.nul').removeClass('inner-bar null').addClass('voted'); $(this).closest('li').find('.inner-bar').animate({width: value}, 1000); $(this).closest('li').find('.voted').delay('1000').animate({width: value}, 1000); $('.percentage').delay('1000').fadeIn('fast'); }); return false; }); $('body').on('click', '.right-poll .results-trigger2', function() { $('.right-poll .poll-vote-list2').fadeOut(500); $('.right-poll .poll-results-list2').delay(500).fadeIn(500); $(this).hide(); $('.right-poll .poll-results-list2 li .percentage2').each(function() { var value = $(this).text(); $(this).closest('li').find('.right-poll .nul').removeClass('inner-bar2 null').addClass('voted2'); $(this).closest('li').find('.right-poll .inner-bar2').animate({width: value}, 1000); $(this).closest('li').find('.right-poll .voted2').delay('1000').animate({width: value}, 1000); $('.right-poll .percentage2').delay('1000').fadeIn('fast'); }); return false; }); }); </script> </body> </html> this is the code im trying to make it homepage.
Maxtor Posted September 17, 2017 Author Posted September 17, 2017 i did it step by step, for example if i add only this code: <div class="name">How many castles should be siegable at start of the server?</div> <?php if (!isset($_COOKIE['poll_1']) && $ip_on_poll_1 == 0) { ?> and i get this error: ParseError: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) (0) #0 /home/maxtor99/public_html/system/Theme/Theme.php(4277): IPS\_Theme::runProcessFunction('\tfunction uniqu...', 'unique_function...') #1 /home/maxtor99/public_html/system/Theme/Theme.php(4252): IPS\_Theme::makeProcessFunction('\t\t\t\t<div class=...', 'unique_function...', '') #2 /home/maxtor99/public_html/applications/cms/sources/Pages/Page.php(762): IPS\_Theme::checkTemplateSyntax('\t\t\t\t<div class=...') #3 [internal function]: IPS\cms\Pages\_Page::IPS\cms\Pages\{closure}('\t\t\t\t<div class=...') #4 /home/maxtor99/public_html/system/Helpers/Form/FormAbstract.php(365): call_user_func(Object(Closure), '\t\t\t\t<div class=...') #5 /home/maxtor99/public_html/system/Helpers/Form/TextArea.php(113): IPS\Helpers\Form\_FormAbstract->validate() #6 /home/maxtor99/public_html/system/Helpers/Form/FormAbstract.php(165): IPS\Helpers\Form\_TextArea->validate() #7 /home/maxtor99/public_html/system/Helpers/Form/FormAbstract.php(142): IPS\Helpers\Form\_FormAbstract->setValue(true) #8 [internal function]: IPS\Helpers\Form\_FormAbstract->__construct('page_content', 'redirect', false, Array, Object(Closure), NULL, NULL, 'page_content') #9 /home/maxtor99/public_html/system/Helpers/Form/TextArea.php(60): call_user_func_array('parent::__const...', Array) #10 [internal function]: IPS\Helpers\Form\_TextArea->__construct('page_content', 'redirect', false, Array, Object(Closure), NULL, NULL, 'page_content') #11 /home/maxtor99/public_html/system/Helpers/Form/Codemirror.php(60): call_user_func_array('parent::__const...', Array) #12 /home/maxtor99/public_html/applications/cms/sources/Pages/Page.php(797): IPS\Helpers\Form\_Codemirror->__construct('page_content', 'redirect', false, Array, Object(Closure), NULL, NULL, 'page_content') #13 /home/maxtor99/public_html/applications/cms/sources/Pages/Page.php(1396): IPS\cms\Pages\_Page::formElements(Object(IPS\cms\Pages\Page)) #14 /home/maxtor99/public_html/system/Node/Controller.php(467): IPS\cms\Pages\_Page->form(Object(IPS\Helpers\Form)) #15 /home/maxtor99/public_html/init.php(448) : eval()'d code(15): IPS\Node\_Controller->_addEditForm(Object(IPS\cms\Pages\Page)) #16 /home/maxtor99/public_html/system/Node/Controller.php(366): IPS\Node\advancedtagsprefixes_hook_nodeSettings->_addEditForm(Object(IPS\cms\Pages\Page)) #17 /home/maxtor99/public_html/system/Dispatcher/Controller.php(85): IPS\Node\_Controller->form() #18 /home/maxtor99/public_html/system/Node/Controller.php(62): IPS\Dispatcher\_Controller->execute() #19 /home/maxtor99/public_html/applications/cms/modules/admin/pages/pages.php(45): IPS\Node\_Controller->execute() #20 /home/maxtor99/public_html/system/Dispatcher/Dispatcher.php(146): IPS\cms\modules\admin\pages\_pages->execute() #21 /home/maxtor99/public_html/admin/index.php(13): IPS\_Dispatcher->run() #22 {main}
opentype Posted September 17, 2017 Posted September 17, 2017 Someone needs to rewrite that code from top to bottom. You can’t just paste it in an existing page. Remove the whole header and the body tags move the CSS to Pages CSS templates move the JavaScript to Pages js templates rewrite the PHP to use the IPS 4 template syntax optionally: rewrite all the queries to use IPS 4 queries instead of raw MySQL calls 2 minutes ago, Maxtor said: i did it step by step, for example if i add only this code: Yeah, you can’t use raw PHP like that, unless you are creating a PHP only file, in which case you can’t use raw HTML. ;-)
Maxtor Posted September 17, 2017 Author Posted September 17, 2017 2 minutes ago, opentype said: Someone needs to rewrite that code from top to bottom. You can’t just paste it in an existing page. Remove the whole header and the body tags move the CSS to Pages CSS templates move the JavaScript to Pages js templates rewrite the PHP to use the IPS 4 template syntax optionally: rewrite all the queries to use IPS 4 queries instead of raw MySQL calls Yeah, you can’t use raw PHP like that, unless you are creating a PHP only file, in which case you can’t use raw HTML. ;-) how can i make it without involving ips/pages , and run it as stand alone static page? do i have to copy forum from main directory to a folder such as /forum/ and edit again mod rewrite htacess files?
Tom S. Posted September 17, 2017 Posted September 17, 2017 If you want to add your own custom php code to a page in Pages without worrying about the pesky template syntax, do the following. Create a new php file with the code you want and then include it using the following: {insert="location/to/my/file.php"} You can mix normal HTML and PHP in that file.
Maxtor Posted September 17, 2017 Author Posted September 17, 2017 16 minutes ago, Tom S. said: If you want to add your own custom php code to a page in Pages without worrying about the pesky template syntax, do the following. Create a new php file with the code you want and then include it using the following: {insert="location/to/my/file.php"} You can mix normal HTML and PHP in that file. with this way, errors are showing in main forum template.
Tom S. Posted September 17, 2017 Posted September 17, 2017 1 minute ago, Maxtor said: with this way, errors are showing in main forum template. what error?
Maxtor Posted September 17, 2017 Author Posted September 17, 2017 3 minutes ago, Tom S. said: what error?
Tom S. Posted September 17, 2017 Posted September 17, 2017 1 minute ago, Maxtor said: if you make a simple php page and try to include that do you still get the error?
Maxtor Posted September 17, 2017 Author Posted September 17, 2017 11 minutes ago, Tom S. said: if you make a simple php page and try to include that do you still get the error? i tried these: <?php include('index_tales.php') ?> <?php include('/home/maxtor99/public_html/index_tales.php') ?> <?php include('http://www.maxcheaters.com/index_tales.php') ?> nothing is working. white page.
Tom S. Posted September 17, 2017 Posted September 17, 2017 erm. Make a php page: <? echo 'hello'; ?> save it somewhere on your server. Then in page file (in ACP) add {insert="location/to/my/file.php"} No php tags here. Tell me if that works.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.