Pages: [1]
Author Topic: [solved] Adding Games, not working file/folder attrib setting wrong?  (Read 2705 times)
Newbie
*

Karma: 0
Posts: 8


Email
on: Mar 09, 08, 08:54 AM

Just bought the script this morning. Must say easy as 1,2,3 to install it and get it running. As I want to run a dutch website I've translate most of the coding (takes about 45 mins to do) from english to dutch. No problems with that....

Wanted to add some additional games from 3rdsense.com. They have a free games pack that has 38 games (screenshots included) Tried to add one of the games named swords and sandals 2 (renamed the game.swf to swordssandals2.swf first). Adding the game through the admins gave me an error telling me that it cant upload the script due to file/folder attribute settings (../content/swf/swordssandals2.swf).

I checked the folder permissions and everything with the content folder is chmod 777. Have I done something wrong? Is it possible to upload the swf and screenshots manually and than add the game (pointing it to the server folder?)
« Last Edit: Mar 21, 08, 12:46 PM by FrontRunner » Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #1 on: Mar 09, 08, 09:07 AM

what about the folder's attributes on folders "swf" and "thumbs"?

Quote
Is it possible to upload the swf and screenshots manually and than add the game (pointing it to the server folder?)
At the moment it's not possible, but it definately worth to be added in the next version of the script which I'm working on right now.
Logged
Newbie
*

Karma: 0
Posts: 8


Email
Reply #2 on: Mar 09, 08, 09:23 AM

All folders within the content folder are set to 777.

Good to see that the manual add option will be added to the future version of PAS. I guess that uploading it manually and than manually add it to the database would work?


Ahh just noticed that in my PHP.ini upload_max_filesize is set to 2mb. Added php_value upload_max_filesize 50M to the htaccess file in the root. I see that the file is getting uploaded now to the swf folder and thumbs are added to thumbs and screenshot folder. Only thing is the game doesnt show up in the game list (in admin). Also after adding the game it shows a blank screen. Is there any php settting that i need to alter?

FYI just look here: http://www.speelmonster.nl/phpinfo.php
« Last Edit: Mar 09, 08, 09:40 AM by FrontRunner » Logged
Administrator
Sr. Member
*

Karma: 7
Posts: 486


Email
Reply #3 on: Mar 09, 08, 09:57 AM

yes, you can manually add the games using phpMyAdmin or similar program. You will just need to recount the games number for each category after that (using  the button in the "Content" section of admin CP). Please note, there is no need to specify the games' dimentions because the script can determine them once someone visited the game's page.

And please check your inbox, I've just sent a message to you.
Logged
Newbie
*

Karma: 0
Posts: 8


Email
Reply #4 on: Mar 21, 08, 12:24 PM

Soz for the late reply. Seems that leaving the height and width of the game empty causes the blank error. Filling in a dimension seems to solve my problem.
Logged
Pages: [1]
 
Jump to: