Support the ongoing development of Laravel.io →
posted 10 years ago
Requests

Hey,

i have a big problem. My laravel app works great on my local vagrant machine. On my remote server i get the following error:

[2014-06-10 16:49:18] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'syntax error, unexpected end of file' in /var/www/naztec/app/storage/views/18f18c334d108269519072d8c4491d40:189
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []
[2014-06-10 16:49:31] production.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'syntax error, unexpected end of file' in /var/www/naztec/app/storage/views/18f18c334d108269519072d8c4491d40:189
Stack trace:
#0 [internal function]: Illuminate\Exception\Handler->handleShutdown()
#1 {main} [] []

My view "/var/www/naztec/app/storage/views/18f18c334d108269519072d8c4491d40" has no syntax errors. Locally it works!

Line 189 is at </html>:

			</div>
		</div>
	</div>
</footer>

</body>
</html>

I only get a blank page and cannot access any page, even after clear the cache...

Running Laravel 4.2 with PHP 5.5.12-2+deb.sury.org~precise+1 (cli) (built: May 12 2014 13:46:35)

Last updated 2 years ago.
0

you can try to manually delete all the files in

/var/www/naztec/app/storage/views/
Last updated 2 years ago.
0

I already cleared the cache. Did not help :(

Last updated 2 years ago.
0

had the same:

somehow worked before: some_html@endif

now it needs to be some_html @endif

with a space!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

divdax divdax Joined 3 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.