Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error starting Stacey #66

Closed
poneteonline opened this issue Oct 2, 2012 · 6 comments
Closed

Error starting Stacey #66

poneteonline opened this issue Oct 2, 2012 · 6 comments

Comments

@poneteonline
Copy link

Just started a new stacey test site with ver 3.0 - already running 2.3 with no problems.
But starting, I'm getting following error:

Warning: Invalid argument supplied for foreach() in /EmI2/app/cache.inc.php on line 36

Fatal error: Class 'Twig_Extension' not found in /EmI2/app/parsers/Twig/Extension/Core.php on line 16

@gregcoleinfo
Copy link

I think this might be more of a forum issue.

Anyway, we need information on what you did to reach this error. At the root of your site, do you have a folder titled "extensions", with 2 files inside it "config.php" and "twig-extensions.inc.php"?

@Mulchio
Copy link

Mulchio commented Jan 25, 2013

I am having the same issue, but just the Warning, not the Fatal error (do have those files in the "extensions" folder).

The warning showed up immediately after installing Stacey 3.0 in a completely new folder on the server, following the Stacey instructions. Permissions on all folders and files look correct.

Here is line 36 of cache.inc.php:
foreach($old_caches as $file) unlink($file);

I will post it in the forum as well.

@Mulchio
Copy link

Mulchio commented Feb 7, 2013

UPDATE:
my bad. problem solved.
make sure you set the correct permissions to all content of app/_cache

@tmewett
Copy link

tmewett commented Apr 21, 2013

I am still getting this error, regardless of the chmod settings on the app/_cache folder.

@tmewett
Copy link

tmewett commented Apr 22, 2013

Funnily enough, today this error message disappeared. Hooray! :)

@Mulchio
Copy link

Mulchio commented Apr 22, 2013

great.!!
there must be something in the air today.

@kolber kolber closed this as completed Apr 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants