Nickcko Posted June 3, 2021 Report Posted June 3, 2021 (edited) I use php 5.6 nginx debian 10 phpVMS: latest version of phpVMS_v2 (https://github.com/phpvms/phpvms_v2) 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 June 3, 2021 by Nickcko Quote
Administrators ProAvia Posted June 3, 2021 Administrators Report Posted June 3, 2021 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? Quote
Nickcko Posted June 4, 2021 Author Report Posted June 4, 2021 So which version of php should we use for v2.x then? And we use 10.3.27-MariaDB-0+deb10u1 as SQL Server. Quote
Administrators ProAvia Posted June 4, 2021 Administrators Report Posted June 4, 2021 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. Quote
Nickcko Posted August 6, 2021 Author Report Posted August 6, 2021 We have tried with MariaDB 10.1 and get the same error. Quote
Administrators ProAvia Posted August 7, 2021 Administrators Report Posted August 7, 2021 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? Quote
Strider Posted August 14, 2021 Report Posted August 14, 2021 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.