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 when installing: Fatal error: Call to a member function render() on a non-object in #423

Closed
ghost opened this issue Feb 1, 2014 · 5 comments

Comments

@ghost
Copy link

ghost commented Feb 1, 2014

Hi there,

I followed the installation guidelines and after that uploaded everything to my server. But when visiting the installation I get the following error:

Fatal error: Call to a member function render() on a non-object in xxxxxxxx/inc/poche/Poche.class.php on line 240

I checked the lines in the Poche.class.php file. These are the lines around line 240:

private function install()
{
Tools::logm('poche still not installed');
echo $this->tpl->render('install.twig', array(
'token' => Session::getToken(),
'theme' => $this->getTheme(),
'poche_url' => Tools::getPocheUrl()
));

I have no idea what is causing this. The compatibility file says the server is okay.

Thank you!

@nicosomb
Copy link
Member

nicosomb commented Feb 1, 2014

Hello @Maarten-B!

Did you install twig?
If not, download this file http://wllbg.org/vendor and unzip it in your wallabag folder.

@ghost
Copy link
Author

ghost commented Feb 2, 2014

Hi nicosomb, thank you for your reply. Yes I did that. I put the files both in the inc/poche and the inc/poche/vendor folder. That should have done it right?

@nicosomb
Copy link
Member

nicosomb commented Feb 2, 2014

vendor directory must be at the root.
you'll have :
db/
inc/
vendor/
etc.

@ghost
Copy link
Author

ghost commented Feb 2, 2014

So sorry thank you! The installation guideline stated in the poche folder. I assumed wrongly the inc/poche. Thank you it works now!

@nicosomb
Copy link
Member

nicosomb commented Feb 2, 2014

It's our fault, we have to change the doc since we changed the name of the application (poche --> wallabag).

@nicosomb nicosomb closed this as completed Feb 2, 2014
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

1 participant