darkfun3 5 Posted May 31, 2014 Share Posted May 31, 2014 (edited) when i try to login on my itemshop ( using ishop) this messages appear https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif on this one there where supposed to be images moving and this on here https://metin2.download/picture/PETlteIl2iAlmkQt15GIx9uOwrGdxdCi/.png which i don't know it does https://metin2.download/picture/0oFQjnyq3snmPRe0kl4VcqUJcZIKzwn5/.png Edited August 28, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
darkfun3 5 Posted June 1, 2014 Author Share Posted June 1, 2014 up Link to comment Share on other sites More sharing options...
Denis 1474 Posted June 1, 2014 Share Posted June 1, 2014 You have an error at your php scripts 1 Link to comment Share on other sites More sharing options...
darkfun3 5 Posted June 1, 2014 Author Share Posted June 1, 2014 how can i fix that? Link to comment Share on other sites More sharing options...
Denis 1474 Posted June 1, 2014 Share Posted June 1, 2014 Post your index.php here Link to comment Share on other sites More sharing options...
darkfun3 5 Posted June 1, 2014 Author Share Posted June 1, 2014 <? if (!file_exists("conn.php")) { die("File conn.php non presente, <a href='install/index.php'>Clicca Qui</a> per crearlo!"); } include("conn.php"); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>StarkMt2 - Item Shop</title> <meta http-equiv="content-type" content="text/html; charset=greek" /> <link rel="stylesheet" href="style.css" type="text/css" /> <link rel="shortcut icon" href="favicon.ico" > </head> <body> <div id="container"> <div id="loginbar"> Καλωσορίσατε στο Item-Shop του StarkMt2 <? include("login.php"); ?> </div> <div id="head"><h1>StarkMt2</h1> </div> <div id="content"> <h2>Επιλογές Item Shop</h2> <div class="splitLeft"> <ul class="menue"> <li><a href="index.php">Αρχική Item-Shop</a></li> <li><a href="../index.php">Πίσω στη σελίδα</a></li> </ul> </div> <BR><br> <center> <marquee SCROLLAMOUNT="32" SCROLLDELAY="400" bgcolor="black" style="border: 0px dashed; width: 864px; height: 64px;" behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();"> <? $query=mysql_query("SELECT * FROM web.shop ORDER BY icon ASC"); $i=0; $num=mysql_num_rows($query); if($num == 0){ echo"<h2>Nessun Articolo trovato.</h2>"; }else{ ?> <table border="0"> <? while($i < $num){ $row=mysql_fetch_array($query); $item_image=$row["icon"]; $item_vnum=$row["vnum"]; echo"<a href='item.php?item=$item_vnum'><img src='images/$item_image.png'></a>"; $i++; } ?> </table> <? } ?> </marquee> </center> <br> </div> <br><br> </div> </div> <div id="bgLine"></div> </body> </html> Link to comment Share on other sites More sharing options...
Denis 1474 Posted June 1, 2014 Share Posted June 1, 2014 Replace the <? tags with <?php Link to comment Share on other sites More sharing options...
Night 366 Posted June 1, 2014 Share Posted June 1, 2014 Replace the <? tags with <?php shouldnt the php script start wih <?php and die with ?> that seem to me that both does not exist Link to comment Share on other sites More sharing options...
Denis 1474 Posted June 1, 2014 Share Posted June 1, 2014 He can use the <? tags if he has enabled the option need short_open_tag in php.ini Link to comment Share on other sites More sharing options...
darkfun3 5 Posted June 2, 2014 Author Share Posted June 2, 2014 (edited) i get this error now https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif Edited August 28, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
Denis 1474 Posted June 2, 2014 Share Posted June 2, 2014 Enable the option need short_open_tag in php.ini and make the index.php default,change the <?php to <? 2 Link to comment Share on other sites More sharing options...
darkfun3 5 Posted June 2, 2014 Author Share Posted June 2, 2014 there is no php.ini in my website files Link to comment Share on other sites More sharing options...
Denis 1474 Posted June 2, 2014 Share Posted June 2, 2014 The php.ini is there where you have install the php/apache 2 Link to comment Share on other sites More sharing options...
darkfun3 5 Posted June 2, 2014 Author Share Posted June 2, 2014 on the website there is no php.ini there are only 2 folders error log and httdocs it's a joomla hosting for a website. Should i tell them to enable that in php.ini? Link to comment Share on other sites More sharing options...
Solution Ayaka 300 Posted June 4, 2014 Solution Share Posted June 4, 2014 just replace in all .php files: <? with: <?php if you havent access to php.ini or try to enable PHP short open tags via .htaccess (works only if the hosting provider allows overriding of PHP configuration options): <IfModule mod_php5.c> php_value short_open_tag 1 </IfModule> 1 F E E L - T H E - A W E S O M E N E S S Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now