88nismo Posted April 25, 2010 Posted April 25, 2010 I got everything working right. but when I go to my site it just shows the index of. I have to click on the page I want. Any idea what im doing wrong? sorry kinda of a noob lol Quote
88nismo Posted April 25, 2010 Author Posted April 25, 2010 Also How do I do the crons? the way I have them is not working. I just pasted them in and added minute, everyday ect.. curl http://MYSITE/cron_minute.php?code=5499c43db02941782987e280166da613 Is that right?? :S Quote
Curt Posted April 25, 2010 Posted April 25, 2010 lol..first off did you rename index2.php to index.php that may be the problem. Quote
88nismo Posted April 25, 2010 Author Posted April 25, 2010 lol..first off did you rename index2.php to index.php that may be the problem. Yes I just figured that out a few min ago lol. sorry for the stupid questions. But any idea on the crons? :wacko: Quote
Curt Posted April 26, 2010 Posted April 26, 2010 well the way you have it looks correct. If your on a free host the chances of them allowing you to use crons is very slim but i hear their are free hosts that allow this. If your on a paid host go into your cpanel and click cron jobs and set them up. you can visit the link to manually run the cron. if its not working when you run it manually then there may be a coding error in the cron. add this at the top right under <?php : error_reporting(E_ALL); and then run your cron manually again and if there is an error it will tell you , if not it will just be a blank white scree. hope that helps... cheers Quote
88nismo Posted April 26, 2010 Author Posted April 26, 2010 Ok cool ill look at it again. Thanks alot Quote
88nismo Posted April 26, 2010 Author Posted April 26, 2010 I guess its all right. I have a free host for now till I finish the game. does anyone know if x10 hosting allows crons on their free hosting? Quote
Djkanna Posted April 26, 2010 Posted April 26, 2010 They don't allow one minute nor five minute crons I believe. Quote
88nismo Posted April 26, 2010 Author Posted April 26, 2010 Ok. thanks. 1 more dumb question lol I am tryin to add a shoutbox to my index.php. and no matter where I put the code, it keeps throwing errors. any ideas? EveryWhereChat Free Flash Chatrooms <script src="http://www.everywherechat.com/e.php?defaultRoom=Duncan_Construction&roomList=true&fontSize=12&width=600&height=800&theme=night"></script> Quote
Djkanna Posted April 26, 2010 Posted April 26, 2010 echo '[url="http://www.everywherechat.com/"]EveryWhereChat Free Flash Chatrooms[/url] <script src="http://www.everywherechat.com/e.php?defaultRoom=Duncan_Construction&roomList=true&fontSize=12&width=600&height=800&theme=night"></script>'; Add that to your index.php Quote
88nismo Posted April 26, 2010 Author Posted April 26, 2010 Sweet! works great. Thanks alot!! :thumbsup: Quote
88nismo Posted May 3, 2010 Author Posted May 3, 2010 Hey everyone I bought the car mod from someone and I cant contact them. And it is for V1. would anyone be willing to change it to V2 for me for a free copy? or is that a NO NO? :D Quote
Dayo Posted May 4, 2010 Posted May 4, 2010 that is a big NO NO to convert it use the V2-V1 conversion tools in the mccode section (it may be in the free mods) Quote
CrazyT Posted May 7, 2010 Posted May 7, 2010 Basicly you don't really need to convert it to V2, V2 just uses a database class, basicly same mysql tables as V1. Little tutorial on converting it to V2.. mysql_query('sql here') to $db->query('sql here'); mysql_fetch_array/mysql_fetch_assoc() to $db->fetch_row($var); mysql_result('sql here', [int], [int]) to $db->fetch_single('sql here'); mysql_num_rows() to $db->num_rows($var); Basicly thats all.? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.