Fatal error: Not able to open ./cache/data_global.php

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Locked
Balak Racing
Registered User
Posts: 4
Joined: Fri Sep 21, 2001 8:29 pm
Location: Bradenton, FL
Contact:

Fatal error: Not able to open ./cache/data_global.php

Post by Balak Racing »

I keep getting the following error at the bottom of my forums:

Fatal error: Not able to open ./cache/data_global.php in /home/greyhaw/public_html/forums/includes/acm/acm_file.php on line 112

I of course did a search here, and the solution seems to be deleting all files in the cache except index.htm and the .htaccess files. I've deleted them manually with an FileZilla and by using the link in the admin control panel several times. The error disappears, but comes right back within a few browser refreshes. Permissions on the cache folder are set correctly. I didn't get this error until my recent update to 3.0.4 tonight.

Thanks,

Bryan
No man with a cool car needs to be justified - Gibby Haynes

Balak Racing
Registered User
Posts: 4
Joined: Fri Sep 21, 2001 8:29 pm
Location: Bradenton, FL
Contact:

Re: Fatal error: Not able to open ./cache/data_global.php

Post by Balak Racing »

Just FYI, I have also tried replacing "acm_file.php" with no success either.
No man with a cool car needs to be justified - Gibby Haynes

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 137
Joined: Sun Dec 18, 2005 5:44 pm
Location: Texas
Contact:

Re: Fatal error: Not able to open ./cache/data_global.php

Post by Noxwizard »

Check that your includes/constants.php has the following in it:

Code: Select all

// phpbb_chmod() permissions
@define('CHMOD_ALL', 7);
@define('CHMOD_READ', 4);
@define('CHMOD_WRITE', 2);
@define('CHMOD_EXECUTE', 1);  
They should be right after:

Code: Select all

define('REFERER_VALIDATE_PATH', 2);  
The file should look like: http://code.phpbb.com/repositories/entr ... stants.php (download)
Clear your cache after you make these changes.

Balak Racing
Registered User
Posts: 4
Joined: Fri Sep 21, 2001 8:29 pm
Location: Bradenton, FL
Contact:

Re: Fatal error: Not able to open ./cache/data_global.php

Post by Balak Racing »

Thanks,

That did the trick.

Bryan
No man with a cool car needs to be justified - Gibby Haynes

BrianC
Registered User
Posts: 2
Joined: Fri Feb 06, 2009 10:19 pm

Re: // phpbb_chmod() permissions

Post by BrianC »

Hi,

I have the same problem.

I have jsut checked the file and it contains the code.

// phpbb_chmod() permissions
@define('CHMOD_ALL', 7);
@define('CHMOD_READ', 4);
@define('CHMOD_WRITE', 2);
@define('CHMOD_EXECUTE', 1);

I still have this appearing at the bottom of each page.

Fatal error: Not able to open ./cache/data_global.php in /mounted-storage/home36b/sub001/sc28026-OTPD/www/forum/includes/acm/acm_file.php on line 112

User avatar
COD3M4ST3R-X
Registered User
Posts: 228
Joined: Wed Nov 05, 2008 7:52 am
Location: Lahore,Pakistan
Contact:

Re: // phpbb_chmod() permissions

Post by COD3M4ST3R-X »

BrianC wrote:Hi,

I have the same problem.

I have jsut checked the file and it contains the code.

// phpbb_chmod() permissions
@define('CHMOD_ALL', 7);
@define('CHMOD_READ', 4);
@define('CHMOD_WRITE', 2);
@define('CHMOD_EXECUTE', 1);

I still have this appearing at the bottom of each page.

Fatal error: Not able to open ./cache/data_global.php in /mounted-storage/home36b/sub001/sc28026-OTPD/www/forum/includes/acm/acm_file.php on line 112
Upload a fresh copy of constants.php
Download
Then delete everyfile in your cache folder except .htaccess and index.html
and than visit your site. :D
Image
Long Live PhpBB!

thesaintsclan
Registered User
Posts: 1
Joined: Sun Feb 08, 2009 3:58 pm

Re: Fatal error: Not able to open ./cache/data_global.php

Post by thesaintsclan »

Thank you very much. I had the same problem and now all is fixed.

Locked