Jump to content

Recommended Posts

Posted (edited)

I use 

 

The following error appears on the registration page: 
 

Warning: file_exists(): File name is longer than the maximum allowed path length on this platform (4096): /var/www/phpvms//lib/skins/crystal/<h3>Registration</h3> <p>Welcome to the registration form for PHPVMS. After you register, you will be notified by a staff member about your membership.</p> <form method="post" action="https://pilot.sim-air.net/index.php/registration"> <dl> <dt>First Name: *</dt> <dd><input type="text" name="firstname" value="" /> </dd> <dt>Last Name: *</dt> <dd><input type="text" name="lastname" value="" /> </dd> <dt>Email Address: *</dt> <dd><input type="text" name="email" value="" /> </dd> <dt>Select Airline: *</dt> <dd> <select name="code" id="code"> <option value="SLR">SLR - in /var/www/phpvms/core/classes/TemplateSet.class.php on line 96. 

 

Does anyone have a solution for the error?

Edited by Nickcko
  • Administrators
Posted

Is this a new install? If so, using v2.x with PHP 5.6 may be the issue.

 

What version of MySQL or MariaDB are you using?

 

  • Administrators
Posted

Your biggest issue is MariaDB 10.3 - phpVMS v2.x and 5.5.2 doesn't work well with MariaDB above 10.1

 

Is this a new install or an existing long term install? The github you linked to was archived by the owner several years ago. 

 

On the phpVMS admin dashboard, what is the version number in the lower right corner?

What versions of PHP does your host offer?
 

As I stated, Maria DB over 10.1 will cause issues with older versions of phpVMS. If you are starting a new VA, I strongly suggest you use phpVMS v7. 

 

 

  • 2 months later...
  • Administrators
Posted

What phpVMS version? If 2.x  -or5.x - need to know full version number.

 

PHP version? If using PHP 5.6, use phpVMS 5.5.2

 

How did you switch from MariaDB 10.3 to MariaDB 10.1? Same hosting package?

 

Strict Mode ON or OFF?

Posted

This error is not to do with the DB. It is to do with php version most likely. Try if possible selecting an older version of php. The switching to an older DB wouldn't solve this error. It could also be that there is something turned off that phpvms requires in the php setup.

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...