*

Recent

Author Topic: Cannot install forbidden and table doesnt exist??  (Read 6815 times)

Zuma

  • Newbie
  • *
  • Posts: 7
  • Force: +0/-0
Cannot install forbidden and table doesnt exist??
« on: October 17, 2014, 04:20:20 PM »
Hello. I have followed the install instructions to the letter from here http://freearcadescript.net/download/

  • created dtb
  • created dtb user
  • Uploaded zip file
  • Extracted zip file contents
  • added user to dtb with all permissions
  • edited the config file and input the dtb details
  • saved file
  • went to install.php http://girlygamesplaza.com/install.php
and get told that..

"Forbidden
You don't have permission to access /install.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
For cache path I am using;
$cachepath='/home/mobileca/cache/';

And its set to 777.
Same as all other files instructed to set to 777 in README.txt.

Can anyone help?

Thanks!!!!!

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Cannot install forbidden and table doesnt exist??
« Reply #1 on: October 17, 2014, 04:25:51 PM »
looks like the directory path is incorrect

should be => /home/mobileca/public_html/girlygamesplaza.com/


Zuma

  • Newbie
  • *
  • Posts: 7
  • Force: +0/-0
Re: Cannot install forbidden and table doesnt exist??
« Reply #2 on: October 18, 2014, 08:46:54 PM »
Thanks am. You confused me now though  ???

Cache path should be root to the cached folder or domain?
Eg you say to put
$cachepath='/home/mobileca/public_html/girlygamesplaza.com/';

But readme example looks like
// $cachepath='/home/hostingaccountname/cache/'; 

Or can I put

$cachepath='/home/mobileca/public_html/girlygamesplaza.com/cache/';

Or even this?

$cachepath='/home/mobileca/cache/';

Thanks!

PS. Im trying this on another domain now.

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Cannot install forbidden and table doesnt exist??
« Reply #3 on: October 18, 2014, 08:56:44 PM »
i just sent this to you via email

run this file yourdomain.com/path.php

it will give you the correct path

for cpanel is normally => /home/yourname/public_html/cache/

vps => /var/www/vhosts/yourname/httpdocs/cache/

But in the admin settings it should be => /home/yourname/public_html/
« Last Edit: October 18, 2014, 09:01:54 PM by am-fs »

Frank

  • Sr. Member
  • ****
  • Posts: 257
  • Force: +4/-0
Re: Cannot install forbidden and table doesnt exist??
« Reply #4 on: October 19, 2014, 12:47:38 AM »
am-fs - Some of FAS's script and instructions are so out of date you may want to consider this.

functions.php

Code: [Select]
Find:

$file = $cachepath . $name ;

Replace with:

$cache_path='cache';

$file = $cache_path . '/' . $name;
-----------------------------------------------
config.php

Remove:

// ////////////////////////////////////////////////////////////////////////////////////////////////////
// You MUST edit the variable $cachepath below to your own hosting info. If you do not, you will get errors
// At the very least you will need to replace "hostingaccountname" with your own account user name.
// On some accounts you might need to edit the rest of the path.
//
// Directory of the cache folder must exist, and must be chmod 777
//
// If you have questions, please ask for support
// from either your hosting company or the Free Arcade Script staff.
// ////////////////////////////////////////////////////////////////////////////////////////////////////
//
// The folowing is more secure, but not everybody can use it. It still needs to be edited though.
// $cachepath='/home/hostingaccountname/cache/';   
// This one is one almost everybody can use, but is less secure.

$cachepath=' ';

----------------------------------------------

Copy the contents of the zip (Files ONLY) to your cache folder which should be in the public_html folder with the rest of the FAS files and folders.

chmodd 755 is pretty much the default these days as SuExec is run through the apache server and you should ONLY change the chmodd if something doesn't work- Else one gets the errors you are describing because the folder IS OPEN to the world.....

Hopefully that should fix your problems until someone can go through the caching system and make it better or more user-friendly.

Edit:

As for install the domain would be "whatever.com" and the directory path would only be a forward slash - / - because you don't have any 'real' pathing throughout the script which forces people to install it into the root only.
 :(
« Last Edit: October 19, 2014, 05:18:38 AM by Frank »

am-fs

  • Owner
  • Developer
  • Full Member
  • ******
  • Posts: 228
  • Force: +1/-0
    • Great Flash Games
Re: Cannot install forbidden and table doesnt exist??
« Reply #5 on: October 19, 2014, 09:54:58 AM »
Hey Frank .......... Thanks for the info

I did over look the install with the chmod permissions, that is not needed.



Zuma

  • Newbie
  • *
  • Posts: 7
  • Force: +0/-0
Re: Cannot install forbidden and table doesnt exist??
« Reply #6 on: October 24, 2014, 06:40:56 AM »
Hi, also the Instructions say to Chmod    /includes/hitcounter.txt to 777.
But    /includes/hitcounter.txt does not exist.
hitcounter.txt is in the root folder. So I presume you mean that.

Anyway, I still cannot get it installed.
I have set all folder permissions.
I have added the dtb details into config.php.
My cache path is set to $cachepath='/home/mobileca/public_html/cache/';

But http://3danimalgames.com/install.php says

"Forbidden
You don't have permission to access /install.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

What could it be?

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: Cannot install forbidden and table doesnt exist??
« Reply #7 on: October 24, 2014, 11:02:35 AM »
Hi, also the Instructions say to Chmod    /includes/hitcounter.txt to 777.
But    /includes/hitcounter.txt does not exist.
hitcounter.txt is in the root folder. So I presume you mean that.

Anyway, I still cannot get it installed.
I have set all folder permissions.
I have added the dtb details into config.php.
My cache path is set to $cachepath='/home/mobileca/public_html/cache/';

But http://3danimalgames.com/install.php says

"Forbidden
You don't have permission to access /install.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

What could it be?

Am-fs was just working on a install guide for a free host he would be able to help the best with this but try following this tutorial he just made http://freearcadescript.net/forums/index.php?topic=773.msg3233;topicseen#new

Zuma

  • Newbie
  • *
  • Posts: 7
  • Force: +0/-0
Re: Cannot install forbidden and table doesnt exist??
« Reply #8 on: October 24, 2014, 11:11:39 AM »
I already have. Still get same error on trying to find the install.php
And homepage says
Parse error: syntax error, unexpected 'mobileca_3dag' (T_STRING) in /home/mobileca/public_html/3danimalgames/includes/config.php on line 5

Line 5 of the config.php file is
$dbname = 'mobileca_3dag'; // Database name

What is should be right?

Amfs has said hes going to look into it for me when he gets home so hopefully should be able to sort it.

Cheers!

Dillon

  • Developer
  • Sr. Member
  • ******
  • Posts: 340
  • Force: +3/-0
    • Arcade Freak
Re: Cannot install forbidden and table doesnt exist??
« Reply #9 on: October 24, 2014, 12:31:45 PM »
I already have. Still get same error on trying to find the install.php
And homepage says
Parse error: syntax error, unexpected 'mobileca_3dag' (T_STRING) in /home/mobileca/public_html/3danimalgames/includes/config.php on line 5

Line 5 of the config.php file is
$dbname = 'mobileca_3dag'; // Database name

What is should be right?

Amfs has said hes going to look into it for me when he gets home so hopefully should be able to sort it.

Cheers!

Ya hopefully he can figure it out the line looks correct maybe the semicolon got deleted on the line before? Or missing an apostrophe on the line before thats all i can think of that would cause line 5 to mess up when it looks fine. I have to go to work otherwise i would try to help more. But thats something you can check first.