Hi everyone,
i originally posted this int he wrong place so i have remade it here, sorry for the double post, please could the old post be deleted? LINK
i have an issue installing most of the games i have tried to download, im using iArcade and it said the games here work with it, only one of about 5 or 6 games i have tried to install have worked, the rest pull this error
Warning: fopen(/home/USER/public_html/forum/arcade/tars/gamedata/UrbanSniperV32PC/) [function.fopen]: failed to open stream: Is a directory in/home/USER/public_html/forum/admin/applications_addon/other/iArcade/modules_admin/games/import.php on line 344
not quite sure what to do about it, i do think it may be an issue with iArcade as it doesnt seem to have been updated since september. I try to install them again after deleting the tars using ftp but it says they are alreayd installed
Jaz
#1
Posted 09 December 2011 - 12:52 AM
#2
Posted 09 December 2011 - 11:46 AM
Hi Jaz,
I may be wrong but it sounds like a CHMOD issue to me. I would check that your /tars/gamedata folder is chmodded to 0755 and if that doesnt work then try 0777. IT sounds like when it is extracting the game it is failing to write the gamedata to the gamedata folder. Then when it is trying to read the gamedata its obviously not there.
Try this and let me know how you get on. If it doesn't work then I will have to think up what else it may be.
Regards,
Leon
I may be wrong but it sounds like a CHMOD issue to me. I would check that your /tars/gamedata folder is chmodded to 0755 and if that doesnt work then try 0777. IT sounds like when it is extracting the game it is failing to write the gamedata to the gamedata folder. Then when it is trying to read the gamedata its obviously not there.
Try this and let me know how you get on. If it doesn't work then I will have to think up what else it may be.
Regards,
Leon
#3
Posted 09 December 2011 - 02:37 PM
ok, so i made every folder in the arcade folder set to 0777 and its still having the same issue :S, if i try to install them again afterwards it says they are already installed as well, i have a feeling it may be an issue with the version of iArcade im using because it pulls a database driver error if i install via the upload option
#4
Posted 09 December 2011 - 10:44 PM
checked the iarcade forum, no response, that place seems dead
#5
Posted 12 December 2011 - 09:57 AM
Hey,
Sorry for the delay in responding, ive been away the last couple of days. If you would like I could have a look at it for you. I would need some ACP access and possibly FTP access. If you provide them to me over PM then yes I would be more than happy to take a look at what is causing the issue for you. Its up to you?
Sorry for the delay in responding, ive been away the last couple of days. If you would like I could have a look at it for you. I would need some ACP access and possibly FTP access. If you provide them to me over PM then yes I would be more than happy to take a look at what is causing the issue for you. Its up to you?
#6
Posted 12 December 2011 - 03:25 PM
YoungL, on 12 December 2011 - 09:57 AM, said:
Hey,
Sorry for the delay in responding, ive been away the last couple of days. If you would like I could have a look at it for you. I would need some ACP access and possibly FTP access. If you provide them to me over PM then yes I would be more than happy to take a look at what is causing the issue for you. Its up to you?
Sorry for the delay in responding, ive been away the last couple of days. If you would like I could have a look at it for you. I would need some ACP access and possibly FTP access. If you provide them to me over PM then yes I would be more than happy to take a look at what is causing the issue for you. Its up to you?
sure, ill pm you the details
#7
Posted 27 December 2011 - 07:19 PM
Was this issue solved??? i got the same problem.
#8
Posted 27 December 2011 - 07:25 PM
Are you using iArcade too?
It seems to be a problem with the script, the best place to get support for this is via the IP.Board community forums. http://community.inv...oad-iarcade-12/
The mod author can then respond to questions regarding this issue. I was unable to resolve it for jazman. I am sure if you ask on there someone will be able to help you though.
It seems to be a problem with the script, the best place to get support for this is via the IP.Board community forums. http://community.inv...oad-iarcade-12/
The mod author can then respond to questions regarding this issue. I was unable to resolve it for jazman. I am sure if you ask on there someone will be able to help you though.
#9
Posted 29 December 2011 - 05:13 PM
That error code would suggest it is looking for the gamedata directory in the tar directory which it isn't the gamedata directory it is directly in the arcade directory. It may be worth creating a folder in the arcade folder and name it gamedata unless YoungL has already tried that? and just try manually moving a couple of gamedata files into it.
#10
Posted 30 December 2011 - 12:27 AM
i tried everything.. when i went to that site http://community.inv...oad-iarcade-12/ ; i noticed people had lot of issues with the system.. i moved on..
ibProArcade Lite 1.0.1 RC2 is much better. i can now install the games i couldnt install when i had iarcade..
thanks YoungL and Logan for your timely response. ;-)
ibProArcade Lite 1.0.1 RC2 is much better. i can now install the games i couldnt install when i had iarcade..
thanks YoungL and Logan for your timely response. ;-)
#11
Posted 09 January 2012 - 09:05 PM
I posted this over at iArcademod.com on the topic that's there, so hopefully it gets fixed in the next update. It should be fairly easy to fix yourself even if you don't know much about computers. I think the lines to replace should be the same for everyone, since line 344 was the one throwing the error for me as well. If you were getting the error on a different line, then adjust what lines to replace accordingly.
From http://iarcademod.co...is-a-directory/ :
From http://iarcademod.co...is-a-directory/ :
I said:
After parsing through the code, I think I have a pretty simple fix. From what it looks like, the code is hitting an error on extraction when it gets to the gamedata folder. This is in the loop that starts on line 335 in admin/applications_addon/other/iArcade/modules_admin/games/import.php. When it reaches the gamedata folder in the .tar file, fopen fails since the file it intends to write to is a directory (hence the error message). The easiest fix for this is just to use the php function is_dir() to test if it's a directory and if it is, skip over the fopen and fwrite.
I've made the above change on my forums and games that I previously couldnt install now appear to be working fine. I changed lines 344-347 to the following in my import.php file:
I don't think this will cause any issues anywhere else; no data should need to be written for the folder since all it is is a folder (and i think an unused one in iArcade at that).
Also just a note for anyone else who had been getting this error, you'll need to go into your database and clean up the ipb_iarcade_tars table to remove the games that you tried to install before. Otherwise you'll get an error when you try to install them again. This might be possible throught ACP, but since they didn't get fully installed I'm not positive that you'll have the option to remove them from the DB. You might have to do the same thing for the files too, though these should just get overwritten when you install the game again.
Let me know if this works for everyone else, and if you have any questions just post them here.
I've made the above change on my forums and games that I previously couldnt install now appear to be working fine. I changed lines 344-347 to the following in my import.php file:
if(!is_dir($to.$d[fn])) {
$o2=fopen($to.$d[fn],"w");
if(!$o2) return false;
if ($d[size]) fwrite($o2,fread($o,$d[size]));
fclose($o2);
}
I don't think this will cause any issues anywhere else; no data should need to be written for the folder since all it is is a folder (and i think an unused one in iArcade at that).
Also just a note for anyone else who had been getting this error, you'll need to go into your database and clean up the ipb_iarcade_tars table to remove the games that you tried to install before. Otherwise you'll get an error when you try to install them again. This might be possible throught ACP, but since they didn't get fully installed I'm not positive that you'll have the option to remove them from the DB. You might have to do the same thing for the files too, though these should just get overwritten when you install the game again.
Let me know if this works for everyone else, and if you have any questions just post them here.
#12
Posted 09 January 2012 - 10:26 PM
Thank your for sharing that information Bclay, hopefully it helps solve other peoples problems. If anyone with iArcade can verify that this works for them that would be great too.
#13
Posted 17 January 2012 - 07:42 PM
Can confirm the above post did the trick for iArcade.
edit: Well maybe. Happened again a few games later. Will have to look into later.
edit: Well maybe. Happened again a few games later. Will have to look into later.
#14
Posted 02 February 2012 - 09:33 PM
i tried that above fix and then i get this error
There appears to be an error with the database.
If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again.
You can try to refresh the page by clicking
There appears to be an error with the database.
If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again.
You can try to refresh the page by clicking
#15
Posted 06 February 2012 - 03:49 PM
If you login to FTP and go to your IP.Board directory. Then open a folder called "Cache" in there you will see a whole list of MySQL Error files. Choose the error file for today's date and copy and paste what the MySQL error is. Also feel free to post a link to your site so we may look for you.
#16
Posted 06 February 2012 - 03:53 PM
Just realised this topic is in the wrong area. Moving to the correct area and pinning it.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users




Back to top







