Calum Posted April 16, 2011 Share Posted April 16, 2011 im currently making a text-based game but as im trying to install Mccodes v2 this come's up Write Config... Config written. Attempting DB connection Warning: require(class/class_db_mysql.php) [function.require]: failed to open stream: Permission denied in /home/icalum/public_html/installer.php on line 457 Warning: require(class/class_db_mysql.php) [function.require]: failed to open stream: Permission denied in /home/icalum/public_html/installer.php on line 457 Fatal error: require() [function.require]: Failed opening required 'class/class_db_mysql.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/icalum/public_html/installer.php on line 457 Need help fast thanks Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 16, 2011 Share Posted April 16, 2011 You didnt upload the folder callled class or the files inside it Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 ill try that now Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 now this came up Warning: fopen(dbdata.sql) [function.fopen]: failed to open stream: No such file or directory in /home/icalum/public_html/installer.php on line 468 Warning: fread(): supplied argument is not a valid stream resource in /home/icalum/public_html/installer.php on line 470 Warning: fclose(): supplied argument is not a valid stream resource in /home/icalum/public_html/installer.php on line 471 Main MySQL data was written. Now write Extra MySQL data. QUERY ERROR: Unknown column 'donatordays' in 'field list' Query was INSERT INTO users (username, login_name, userpass, level, money, crystals, donatordays, user_level, energy, maxenergy, will, maxwill, brave, maxbrave, hp, maxhp, location, gender, signedup, email, bankmoney, lastip, lastip_signup) VALUES( 'Calum', 'Calum', md5('calum97'), 1, 100, 0, 0, 2, 12, 12, 100, 100, 5, 5, 100, 100, 1, '', unix_timestamp(), '[email protected]', -1, '82.36.18.124', '82.36.18.124') Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 16, 2011 Share Posted April 16, 2011 Delete all the fies in your public_html folder, not the actually folder ;) Then re-upload the files, and install again. Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 still come's up the same thing :( Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 16, 2011 Share Posted April 16, 2011 do you have a file called dbdata.sql -.- Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 no were could i get it? Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 16, 2011 Share Posted April 16, 2011 From the zip file you downloaded from mccodes Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted April 16, 2011 Share Posted April 16, 2011 Go to your account at mccodes.com where you have registered your domain as you have a valid licence and download the rar/zip file of the engine. Its included in there. Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 i just found it what now mate? Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 what should i do know iv got the file? Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 16, 2011 Share Posted April 16, 2011 You did two posts in under 5 minutes. Im not your slave, I'm not going to check this post every second for you to reply... Upload it. Install. Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 sorry Just got 1more thing QUERY ERROR: Table 'adminlogs' already exists Query was CREATE TABLE `adminlogs` ( `adID` int(11) NOT NULL auto_increment, `adUSER` int(11) NOT NULL default '0', `adPOST` longtext NOT NULL, `adGET` longtext NOT NULL, `adTIME` int(11) NOT NULL default '0', PRIMARY KEY (`adID`) ) ENGINE=MyISAM AUTO_INCREMENT=1 ; Quote Link to comment Share on other sites More sharing options...
Dominion Posted April 16, 2011 Share Posted April 16, 2011 "already exists" ... Drop everything then run the installer. Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 drop what ? everything on what? Quote Link to comment Share on other sites More sharing options...
rulerofzu Posted April 16, 2011 Share Posted April 16, 2011 Drop the tables from your database. Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 16, 2011 Share Posted April 16, 2011 Mabey you should look into PHP and MySQL Before you make a game ey! do this Cpanel -> PHPMyAdmin -> select the db ->drop them all Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 i Just dropped them all now what mate? Quote Link to comment Share on other sites More sharing options...
Dominion Posted April 16, 2011 Share Posted April 16, 2011 Look on youtube there is a tutorial on how to install. Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted April 16, 2011 Share Posted April 16, 2011 Reinstall it? Look, Delete ALL of the files in your public_html folder, and drop ALL of the tables in the database you want to use in phpMyAdmin, and then RE-UPLOAD all of the files that came with your MCCodes v.2.0.3 download, and then UPLOAD the sql to phpmyadmin. Once you have done that, try install your game. Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 please it dont show it all i just need to know what to drop and how? Quote Link to comment Share on other sites More sharing options...
Danny696 Posted April 16, 2011 Share Posted April 16, 2011 Kieran. Please, just stop. Your confusing him, and making yourself looks stupid. Calum, Go to PhpMyAdmin. Click the database your game is in (On the left) Select all tables in the tickbox. Select drop in the dropdown box. Confirm it. Reinstall Quote Link to comment Share on other sites More sharing options...
Kieran-R Posted April 16, 2011 Share Posted April 16, 2011 Kieran. Please, just stop. Your confusing him, and making yourself looks stupid. Calum, Go to PhpMyAdmin. Click the database your game is in (On the left) Select all tables in the tickbox. Select drop in the dropdown box. Confirm it. Reinstall I really dont see how what I said was confusing, neither dont see how it makes me look stupid... Hmmm Quote Link to comment Share on other sites More sharing options...
Calum Posted April 16, 2011 Author Share Posted April 16, 2011 OMG!!!!!:@ i went into phpmyadmin and it said i never had No tables found in database. what shell i do :( Quote Link to comment Share on other sites More sharing options...
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.