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

/app/views/site/index.php at line 57 Error #6

Open
LeonidIvanov opened this issue Feb 23, 2016 · 2 comments
Open

/app/views/site/index.php at line 57 Error #6

LeonidIvanov opened this issue Feb 23, 2016 · 2 comments

Comments

@LeonidIvanov
Copy link

Hello! After installing easyii-shop appeared this problem. Admin panel works great (at least look like) but the front end crashes with fatal error.
`
Error
PHP Fatal Error – yii\base\ErrorException
Call to a member function thumb() on a non-object

1. in /var/www/gyrosmart/gyrosmart.com.ua/app/views/site/index.php at line 57


<hr/>


<div class="text-center">
    <h2>Last article from category #1</h2>
    <br/>
    <div class="row text-left">
        <?php $article = Article::last(1, ['category_id' => 1]); ?>
        <div class="col-md-2">

line 57: thumb(160, 120)) ?>


title, ['articles/view', 'slug' => $article->slug]) ?>


short ?>


2. yii\base\ErrorHandler::handleFatalError()

Apache

Yii Framework/2.0.5-dev

Fatal error: Uncaught exception 'yii\base\ErrorException' with message 'Unknown: open(/var/www/gyrosmart/tmp/sess_365e2eaffdf722c8cefce983d02ac10c, O_RDWR) failed: No such file or directory (2)' in Unknown:0 Stack trace: #0 [internal function]: yii\base\ErrorHandler->handleError(2, 'Unknown: open(/...', 'Unknown', 0, Array) #1 {main} thrown in Unknown on line 0
`

@noumo
Copy link
Owner

noumo commented Feb 24, 2016

try to install this version
http://easyiicms.com/uploads/files/new.zip

@LeonidIvanov
Copy link
Author

Looks like it works! Thanks!

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

2 participants