Jump to content

[1.4.8.2]: Front office is blank


Recommended Posts

Good day everyone,

 

I've installed Prestashop version 1.4.8.2, because that's what our company and partners use for a long time. All previous three installations went 100% good, but current project I'm working comes up with fatal error, and I can't understand why:

 

I've installed prestashop successfully, server settings were indicated all green, everything went fine, but when after installation, the front page doesn't work - even with default theme. I've tried changing the default theme into our custom made, still no luck - front page only shows white page, two bullet numbering icons and english language flag - that's all. I've turned debug mode on, message says:

 

 

 

Warning: include(\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\plugins\modifier.escape.php) [function.include]: failed to open stream: No such file or directory in \\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\compile\f9d08de55
7e3de98655423769560e2f2413a37eb.file.blocklanguages.tpl.php
 
on line 20

Warning: include() [function.include]: Failed opening '\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\plugins\modifier.escape.php' for inclusion (include_path='.;C:\php5\pear') in \\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\compile\f9d08de55
7e3de98655423769560e2f2413a37eb.file.blocklanguages.tpl.php
 
on line 20
  • 1.jpg
  •  

 

At first I thought this was caused by SSL sertificate being improperly installed, but this wasn't the case, just got it fixed, still same error.

 

Does anyone know what might be the issue? I would appreciate any help possible...

Edited by sting5 (see edit history)
Link to comment
Share on other sites

Hi !

I had this problem a long time ago, you have to recursivly chmod 777 your prestashop_dir/cache and prestashop_dir/themes/yourtheme/cache. If that did not work, you can also rename folders into your cache directory. If that is still not working, disable smarty ( I've never worked with ps 1.4 but it should be the same... )

Link to comment
Share on other sites

The errors are telling you that a required file is missing.  Did you bother to check if it exists?

 

No such file or directory in 

\\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\compile\f9d08de557e3de98655423769560e2f2413a37eb.file.blocklanguages.tpl.php

Link to comment
Share on other sites

Hi !

I had this problem a long time ago, you have to recursivly chmod 777 your prestashop_dir/cache and prestashop_dir/themes/yourtheme/cache. If that did not work, you can also rename folders into your cache directory. If that is still not working, disable smarty ( I've never worked with ps 1.4 but it should be the same... )

 

Hi Nux,

 

thanks for the advice, but I've allready tried that - I've chmod'ed all the prestashop diretories/subdirectories/files into 777 permission level, still no luck, the error stays the same.

 

 

The errors are telling you that a required file is missing.  Did you bother to check if it exists?

 

Hi bellini13, I will try to check on this later on, will let You know how it went, thanks for advice - but I'm affraid it's low percent of luck because I've installed like 5 times, two different Prestashop versions, and the error message stays the same (only prestashop 1.5.5 showed server error instead

 

P.S. the administrator (backend) panel is working 100% fine! that makes this issue even more mystical imo...

Link to comment
Share on other sites

Yup, just checked the files, they are all there. Maybe this is a problem of .htaccess file? I just can't figure this out...

 

[2013-09-17]: I've accidentaly found a hint in Wamp server forums - they mention that the error fragment 

 

 

 (include_path='.;C:\php5\pear')

Is generated by wrong setup of PHP4 and PHP5 versions. maybe this might be the case? Is there anyone who understands PHP differences?

Edited by sting5 (see edit history)
Link to comment
Share on other sites

Thanks for the reply El Patron. I've tried disabling, but it only brought a new warning message up, this time tags block module:

 

 

 

Warning: include(\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\plugins\modifier.escape.php) [function.include]: failed to open stream: No such file or directory in \\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\compile\10b622f80e06
2fe88c680705a12ffbc807f1f3b9.file.blocktags.tpl.php
 on line 20

Warning: include() [function.include]: Failed opening '\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\plugins\modifier.escape.php' for inclusion (include_path='.;C:\php5\pear') in \\web-123win\winpackage22\nanofuture.co.uk\www.nanofuture.co.uk\web\content\tools\smarty\compile\10b622f80e06
2fe88c680705a12ffbc807f1f3b9.file.blocktags.tpl.php
 on line 20
Tags

 

I'm guessing this might be something more than a broken module, considering that I did a fresh installation of Prestashop, didn't even change theme or anything, Maybe You have any other ideas?

Edited by sting5 (see edit history)
Link to comment
Share on other sites

localhost running on wamp?

 

Nope, it's uploaded in a server in 123-reg.co.uk service provider. I've set database for prestashop, and setup took it fine.  I will try to disable smarty to check maybe it's the source of all this.

 

UPDATE: I think Chmod's might also be the case. Similar topic here:

http://www.prestashop.com/forums/topic/121201-solved-blank-white-front-office-after-installation/

 

I've checked: all files and directories are set to 777. So now I'm totally out of ideas.

Edited by sting5 (see edit history)
Link to comment
Share on other sites

I think I've found the solution myself - the hosting service provider declares in his site:

 

 However, lots of scripts assume an insecure environment in which all sites on a server run as the same user - such scripts will tend to want permissions like 777 and 666 which are not appropriate here.

Permissions we would recommend below include:

755 This allows everyone to read and execute (or enter, for directories). Appropriate for CGI scripts and directories where you don't mind people knowing what's in there.

 

This might be it.

 

I will write an update after trying to set installation files and everything else to 755.

Link to comment
Share on other sites

Hi again El Patron,

 

thanks for the heads up. The service provider is not allowing to change permissions through FileZilla, so this is probably the source of all problems - I will raise a issue ticket and try to solve this through their customer support. And leave an update here. thanks for everyone trying to help me!

Link to comment
Share on other sites

Hi again El Patron,

 

thanks for the heads up. The service provider is not allowing to change permissions through FileZilla, so this is probably the source of all problems - I will raise a issue ticket and try to solve this through their customer support. And leave an update here. thanks for everyone trying to help me!

 

just move to another hosting company...this one is never going to work well (predicting the future)

Link to comment
Share on other sites

just move to another hosting company...this one is never going to work well (predicting the future)

 

I would, but this is the choice of my client, so all I can do is recommend him what You've suggesting here. Thanks for the help, I will post how things went.

Link to comment
Share on other sites

Problem solved - the cause of all this was wrong OS of the purchased host server - instead of Linux, my client odered Windows OS, which is incompactible with Prestashop, so problem solved.

So if anyone will have similar errors like I did, check if server administrator has set the correct operating system for Your hosting site.

You can lock this topic as solved, thanks again for everyone trying to solve this.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...