*

Recent

Author Topic: Stats area error  (Read 3958 times)

FoxyGamers

  • Newbie
  • *
  • Posts: 16
  • Force: +0/-0
    • Free Arcade Information, Scripts & Themes
Stats area error
« on: February 03, 2010, 04:13:01 AM »
Alright so after uploading the file i get an error in the users area,
I also had a problem that it didnt like being placed in a folder and not the homepage, so i removed the / infront of everything in the .htacess.

http://www.foxgamers.com/fas/
V2.0R?
« Last Edit: February 03, 2010, 05:22:46 AM by FoxyGamers »
------
http://www.MyArcader.com - Free Arcade Infomation, Scripts & Themes
http://www.foxygamers.com - Free Games Forever

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: Stats area error
« Reply #1 on: February 03, 2010, 12:51:21 PM »
In the stats box? It needs to have the file /includes/config.php edited to have the correct cache folder set up in it, and that folder needs to have permissions set to 777. I'm guessing you figured that one out seeing as you correctly  answered the same issue for somebody else in another thread.

The error in the second category is because no games are active in it. If you have one loaded into the database for that category, then it is still inactive. It can be changed from the manage games section of the admin panel. We are planning a feature where you can upload a few games and have them automatically activated a set number each day, making it look like the site is more active. Also, the script is set up to not automatically activate games so that when uploaded by members with game adding privileges you get a chance to check them out first, and download a backup copy of the game/thumb if you wish.

I had not thought of that. I had it working by adding /fas/ in front of everything in the .htaccess file rather than removing the /. Good thinking.

FoxyGamers

  • Newbie
  • *
  • Posts: 16
  • Force: +0/-0
    • Free Arcade Information, Scripts & Themes
Re: Stats area error
« Reply #2 on: February 03, 2010, 10:13:15 PM »
The config file is linked to the chache file and it says i have "
Users Online: 4634" thats gotta be a record :P The errors are still there i might go into the code again tonight and check it out.

Thanks for the reply.

Edit:
Quote
Warning: include(/home/hostingaccountname/public_html/fas/includes/counter.php) [function.include]: failed to open stream: No such file or directory in /home/foxgamer/public_html/fas/templates/default/template.php on line 225

Seems like it is still satying that i havent edited the files pathway when i have and all permissions a have been set.
« Last Edit: February 03, 2010, 10:16:07 PM by FoxyGamers »
------
http://www.MyArcader.com - Free Arcade Infomation, Scripts & Themes
http://www.foxygamers.com - Free Games Forever

kurt

  • Developer
  • Hero Member
  • ******
  • Posts: 634
  • Force: +16/-1
Re: Stats area error
« Reply #3 on: February 04, 2010, 01:45:42 AM »
Oh, the error in users online. That is because the server is set up to store all sessions in one folder, for everybody accessing it. You can tell it, on some servers, to store the session data in a different folder by using a php.ini file. This can have weird effects on all other scripts/programs setting up sessions though, use with caution. A sample php.ini file is included in the download zip, it needs to be edited and then uploaded to every folder. For security reasons, we suggest using a folder that is not under /public_html if this needs to be done.

Now that is strange. It looks like the directory path is not set up in the admin panel correctly. It says it's looking in the account "hostingaccountname" instead of "foxgamer". Might want to check to see it out in the admin panel under site settings. On your sever, it looks like it should be set to "/home/foxgamer/public_html/fas".

It might still be in the config file. Doubt it, but it's possible. If that doesn't work, check it out again as well.

It also needs to have the file /includes/hitcounter.txt set to 777 as well. If it's not, it will set off an error that points to counter.php instead of itself.
« Last Edit: February 04, 2010, 01:49:00 AM by Prankster »