Jump to content
MakeWebGames

ashstyx

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by ashstyx

  1. Redux ,
  2.   ok i fixed the Path's now when i go to chat.php it takes me to the login page and then i log in and nothing....
  3. Cant sum1 just help me with this prob then i will not ask ever again for any help
  4.   ok i have no idea what you mean, but the global_func.php is in its own folder and ive moved it into the main directory and i get this error now:   PHP Error Message Warning: require(header.php) [function.require]: failed to open stream: No such file or directory in /home/a7150680/public_html/chat.php on line 6   PHP Error Message Fatal error: require() [function.require]: Failed opening required 'header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7150680/public_html/chat.php on line 6 Line 6 is : require "header.php"; so i will add that to the main directory and then i have to addd header.php into the main directory to stop some more php bugs and then when i try to go to [url="http://sargent-test.freeiz.com/chat.php"[/url] it just takes me to the login page and i log in and then what where do i go from there?
  5. Help with this chat script Hello, ive looked everywhere in the code and i cant figure out why when i visit http://sargent-test.freeiz.com/chat.php it comes up with this:   PHP Error Message Warning: require(global_func.php) [function.require]: failed to open stream: No such file or directory in /home/a7150680/public_html/chat.php on line 3   PHP Error Message Fatal error: require() [function.require]: Failed opening required 'global_func.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7150680/public_html/chat.php on line 3   Failed opening "global_func.php" well its on my server, i do not know what to do
  6. its not its just in the staff folder dclxvi.co.uk / httpdocs / Staff also i have redux
  7. ive done that and ive tried editing it for redux but still myurl.co.uk/promo.php comes up not found
  8. 'driver' => 'mysql', is what it says :/ and the class_db_mysql.php and class_db_mysqli.php files are in there separate folder called class
  9. i know what the problem is, im using redux
  10. like i said this isnt the thread to be discussing this but i will reply, i hate studying but if i have a question and a nice person takes 5mins to explain the answer to me i will remember what he/she says and next time i will know what to do
  11. i mean i understand alot more about this stuff now than before i started so i have learnt stuff, its sumthing i enjoy to do, gives me a challenge there are other reasons but this isnt the thread to be going on about them all i wanted was help not criticism
  12. maybe cos i learn this way, just cos i dont know how to convert script from one version to another dosnt mean i cant make a game, i dont need these mods for my game, it would be nice but well i dont like ppl like you
  13. the 1st 20 lines of cron_day.php   <?php include_once ('../Global/config.php'); global $_CONFIG; if($_GET['code'] != $_CONFIG['code']) { die(""); } define("MONO_ON", 1); require "../class/class_db_{$_CONFIG['driver']}.php"; $db=new database; $db->configure($_CONFIG['hostname'], $_CONFIG['username'], $_CONFIG['password'], $_CONFIG['database'], $_CONFIG['persistent']); $db->connect(); $c=$db->connection_id; $db->query("UPDATE fedjail set fed_days=fed_days-1"); $q=$db->query("SELECT * FROM fedjail WHERE fed_days=0"); $ids=array(); while($r=$db->fetch_row($q)) { $ids[]=$r['fed_userid'];
  14. hello, im not sure where i should post this but i need help with cron jobs i am using the Plesk control panel and ive added the crons to the crontab but i get this error PHP Fatal error: require(): Failed opening required '../class/class_db_.php' (include_path='.:') in /var/www/vhosts/dclxvi.co.uk/httpdocs/cron_day.php on line 6 please someone help me as my game wont work without the crons working i have version 2.5 but it downloaded with the name redux so thats what i used for this post's prefix dclxvi.co.uk thankyou
  15. i have no idea how to convert the code for v2.5 my code is from http://mccodes.com/ i have the $120 one
  16. btw i am using v2.5
  17. ok lets get this strait on the main page it says to do this   smenu.php (Just add this snippet where ever you want. ^_^) if($ir['user_level']==2) { print "<hr /><b>Donaion Packages</b> > <a href="http://staff_paypal.php?action=addpackage" target="_blank">Add Package</a> > <a href="http://staff_paypal.php?action=editpackage" target="_blank">Edit Package</a> > <a href="http://staff_paypal.php?action=delpackage" target="_blank">Delete Package</a> "; this is all a new file for me i dont have an original file called smenu so when i add it to the game it replaces my original staff menu
  18. where the hell is this bit   print "<hr />"; print "<b>Staff Online:</b>";
  19. directly above what?
  20. when i add the file my staff panel looks like this if($ir['user_level']==2) { print " Donation Packages > Add Package > Edit Package > Delete Package "; } i also used your change and its still like this when i click add donator pack it comes up with: Add Package Name: Money: $ Crystals: IQ: Donator Days: Cost: $ [add package] when i fill in the boxes and then hit add package it brings me to an unknown page, like it wont work even if it added the links to my staff panel correctly
  21. ok that wasnt helpfull for me i obv know it goes in smenu.php as it says on the 1st page but when i add it it replaces my current staff menu with just 3 links
  22. here is a copy and paste of what my index.php bit looks like $file_array = array( 'announcements' => 'Mods/announcements.php', 'attack' => 'Mods/attack.php', 'attackbeat' => 'Mods/attackbeat.php', 'attacklost' => 'Mods/attacklost.php', and every time i add another line it just breaks the page so it dosnt work at all, i am very stuck with this i cant work it out :(
  23. file is called promo.php and its in my mods folder in the main folder   90 files and directories in dclxvi.co.uk / httpdocs / Mods total
  24. where do i add if($ir['user_level']==2) { print "<hr /><b>Donaion Packages</b> > <a href="http://staff_paypal.php?action=addpackage" target="_blank">Add Package</a> > <a href="http://staff_paypal.php?action=editpackage" target="_blank">Edit Package</a> > <a href="http://staff_paypal.php?action=delpackage" target="_blank">Delete Package</a> "; } i tried adding it as a php file and it replaces my staff panel so i am confused cos i try edit my staff.php file and it just stops the page from working ive also tried connecting to it using myurl.co.uk/donator.php and i click on sumthing and it sends me to an unknown url, ive tried this with all files please help me :)
  25. did everything u said and when i go to myurl.com/promo.php it says this Not Found The requested URL /promo.php was not found on this server.
×
×
  • Create New...