wumix / Smart-Space

SmartSpace is an Browsergame Based of the 2moons engine. Is fully responsive and mobile friendly.
11 stars 7 forks source link

Template error and blank page after login #16

Open BigTwoProduction opened 7 years ago

BigTwoProduction commented 7 years ago

Hello,

I saw your project I try to use it but after import database an error pop-up: Declaration of template::display($file) should be compatible with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id = NULL, $compile_id=null)

To correct this I change reporting system error by that : error_reporting(E_ALL ^ E_STRICT);

And after when I try to connect on account I see a blank page without any error. But when I try to access admin panel it's ok but some feature return same blank page.

I'm on PHP 7.0.14 and Mysql 5.7.16.

I wonder if you know what is wrong ?

Best regards, BigTwoProduction.

wumix commented 7 years ago

Hmm i Test tze Script unser PHP 5.6 and Now is Working on PHP 7 i habe Not testet.

What is the Server what you are Use? Webspace pre root Server?

wumix commented 7 years ago

Not pre i mean ore

BigTwoProduction commented 7 years ago

Hello,

I've build my own server so i'm root on it. I'm not sure if I understood your question.

wumix commented 7 years ago

Sorry for the bad awnser.

On your rootserve you must put the vendor folder complete before the httpdoc folder.

You know what I mean? When this is working please tell me if is fixed.

BigTwoProduction commented 7 years ago

I retry it and same it's not fix.For more informations.

The game is in /var/www/html/test The vendor folder is in /var/www/html/

That was you mean ?

BigTwoProduction commented 7 years ago

If you want try I can send you link to the test game. Error for template : Declaration of template::display($file) should be compatible with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id = NULL, $compile_id=null)

To summary :

Is correct by change reporting error in common.php with this change error_reporting(E_ALL ^ E_STRICT);

After login blank page in on game.phpbut when access to /admin/admin.php it's seems work well.

To precise, by ssh access all files and folders for test folder >chown -R www-data:www-data /var/www/html/test/

So it's not an problem to read or write.

Best regards, BigTwoProduction.

reverence87 commented 7 years ago

Message: Declaration of template::display($file) should be compatible with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id = NULL, $compile_id = NULL, $parent = NULL) File: /includes/classes/class.template.php

The php-Version 7 is to high........

The max. php-Version that i use is 5.6.29

wumix commented 7 years ago

Thank you reverence87

reverence87 notifications@github.com schrieb am So., 1. Jan. 2017, 17:30:

Message: Declaration of template::display($file) should be compatible with Smarty_Internal_TemplateBase::display($template = NULL, $cache_id = NULL, $compile_id = NULL, $parent = NULL) File: /includes/classes/class.template.php

The php-Version 7 is to high........

The max. php-Version that i use is 5.6.29

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/wumix/Smart-Space/issues/16#issuecomment-269909455, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ53pf2wSJszJsmqAZB_Wa8C8bBqUwhaks5rN9SGgaJpZM4LNNK- .