Jump to content

Recommended Posts

Posted

I am helping someone with their site. He has this error

file_exists(): File name is longer than the maximum allowed path length on this platform (4096)

On the index page and the profile pages. We thought it was the skin, I uploaded a different skin to test that theory. Same error.

phpVMS 5.5.2

php 5.4. We have also tried it with php 5.5 and 5.6

There is a route, airplane, and two airports in the database. There is some data.

Any hekp would be appreciated.

  • Administrators
Posted

Does any of the airline names have a period (.) in it? If the end of the error message looks something like;

<select name="code" id="code"> <opt in /home/u328252270/public_html/suava/demo/core/classes/TemplateSet.class.php on line 96

I would guess the airline name has a period in it or possibly the code of the airline is TPL or PHP

  • Administrators
Posted

I think you said you are running 5.5.2 of my version, if that is correct try this;

/core/classes/TemplateSet.class.php

line 117 should be

if (is_string($value) && $value != '' && substr_count($value, $this->tpl_ext) > 0) {

change to

if (is_string($value) && $value != '' && substr_count($value, $this->tpl_ext."\n\r") > 0) {

  • Like 1
Posted

Words cannot express my feelings, nor my thanks for all your help."

I know it isn't much but I really want to say

Thank You for everything

My friend

  • Like 1
Posted

This fix puts another error in the air. In admin know matter what link I click there is some sort error where a menu should be. It will display sidebar_dashboard.php for examplae, different for each link.

post-49-0-41571100-1446411873_thumb.png

  • 6 months later...
Posted

Ew...

Lets try this.

Change line 117 to;

if (is_string($value) && $value != '' && substr($value, -3) == $this->tpl_ext) {

Hi sir,

I applied this rule to resolve the previous error "sidebar_dashboard.tpl" it resolved well, but the previous error shown again "Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /var/www/vhosts/....."

FYI my php version is 5.3.29

looking forward

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...