--
You received this message because you are subscribed to the Google Groups "Open Source CAD" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-source-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/ee6a8212-ab6e-4dbf-9e8c-87a754d66b01n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/324bb0a3-211c-4d29-9655-8b9dcc962f27n%40googlegroups.com.
I’m not sure why this continues to be such an issue.
I can’t believe that, version to version, there is that much difference in terms of writing the queries and so on.
It might be useful if someone that really knows could explain the differences between the PHP version that works and ones that don’t.
That would certainly be the first step to finally fixing this years old issue.
Cheers!
Chuck…
WB6YOK

801.791.0760 (m)
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/3d477030-67e4-42ba-9339-9594d7a054bfn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/039a01dc598c%24a82edfd0%24f88c9f70%24%40xmission.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/039a01dc598c%24a82edfd0%24f88c9f70%24%40xmission.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/CAJLaYFUu_czX6sP9MsdhAFh1bfjRRk_X4F73WMG0N7Duf8ECMg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/CAJLaYFUu_czX6sP9MsdhAFh1bfjRRk_X4F73WMG0N7Duf8ECMg%40mail.gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/edd59fc1-599e-49b6-8e7e-95f48a374dadn%40googlegroups.com.

Hi Eduardo,
Thanks for the screenshots — that helps a lot. I can see exactly what's happening.
The Problem:
When you upgraded from an older version (3.30A) through to 3.44.1, your admin password was stored in an older format (MD5 hash). The current installer requires you to log in through the main login page first, and there can be issues with the session not carrying over to the installer properly — especially across PHP version differences.
The Fix:
I've created a password reset tool that you can use to get back in. Here's what to do:
Download this file and place it in your tickets/tools/ folder on your server:
https://raw.githubusercontent.com/openises/tickets/main/tools/reset-admin-password.php
If you're using the command line:
cd /path/to/tickets/tools/
wget https://raw.githubusercontent.com/openises/tickets/main/tools/reset-admin-password.php
Go to:
You'll see a page listing all user accounts with their current password hash type (MD5, bcrypt, or empty). Each row has a password reset box.
This will update your password to the modern format that works with the current installer.
http://your-server-address/tickets/ and log in with your new passwordhttp://your-server-address/tickets/install.phpImportant: Once you're in, delete the reset tool immediately:
rm /path/to/tickets/tools/reset-admin-password.php
Or just delete it through your file manager. Leaving it on the server would let anyone reset passwords.
About PHP versions:
If you run into any other issues, send me the error messages or a screenshot and I'll get them sorted out.
Best,
Eric
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/c1b231e3-7fff-4613-b42a-a76bdcb75590n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/a1b25103-f5f2-412a-a499-dc250ded6e62n%40googlegroups.com.

I found the issue with the password reset tool — older versions of TicketsCAD have a different database structure that the tool wasn't accounting for. I've pushed a fix.
Please try these steps again:
Delete the old one first, then download the fixed version:
cd /path/to/tickets/tools/
rm reset-admin-password.php
wget https://raw.githubusercontent.com/openises/tickets/main/tools/reset-admin-password.php
Or if you don't have wget, try curl:
curl -o reset-admin-password.php https://raw.githubusercontent.com/openises/tickets/main/tools/reset-admin-password.php
If neither command works, you can also download it from your browser:
reset-admin-password.phptickets/tools/ folder on the serverYou should now see your user accounts listed. The tool auto-detects your database structure regardless of which version you upgraded from.
Type a new password (at least 4 characters) in the box next to your admin account and click Reset. This will update the password to the modern format.
Go to your main tickets URL and log in with the new password. The installer should work now.
rm /path/to/tickets/tools/reset-admin-password.php
About upgrading from 3.30A:
Going forward, you shouldn't need to do version-by-version upgrades. Version 3.44.1 can upgrade directly from any older version — the installer handles all the schema changes in one pass. The step-by-step approach you used (3.30A → 3.31 → ... → 3.44.1) works but isn't necessary.
If you had the login issue because of a password format incompatibility (older versions used MD5 hashing, newer versions use bcrypt), the current login code handles both formats automatically. The reset tool just makes sure the stored hash is in the right format.
Let me know if you hit any other issues!
Best,
Eric
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/c8939820-fe3c-4b95-a367-ed9d50bc6c21n%40googlegroups.com.

To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/c0374e57-2787-4ea8-91b8-23e314a84ca9n%40googlegroups.com.
Yes — 3.44.1 absolutely supports a fresh install! You don't need an older version first. Here's what to do:
1. Create the database first
Before running the installer, you need a MySQL/MariaDB database ready. Log into your database server (phpMyAdmin, mysql command line, or whatever tool you have):
CREATE DATABASE tickets;
CREATE USER 'tickets'@'localhost' IDENTIFIED BY 'choose-a-strong-password';
GRANT ALL PRIVILEGES ON tickets.* TO 'tickets'@'localhost';
FLUSH PRIVILEGES;
Replace choose-a-strong-password with something secure.
2. Open the installer
Go to: http://your-server/tickets/install.php
You'll see the installer page showing "Installed version: not detected" — that's expected for a fresh install.
3. Fill in the form
localhost (or your DB server address)tickets (the database you created in step 1)tickets (the user you created)4. Scroll down — the admin fields are below
Below the database fields, you'll see:
admin (or whatever you prefer)5. Click "Do It"
The installer will create all tables, seed the default data, and set up your admin account. You'll see a log of each step. When it says "Done!", click the link to go to the login page.
6. Log in
Use the admin username and password you just set.
I also just pushed a fix so that upgrading from ANY old version (even 3.30A) no longer breaks the login. The password hash format from old versions is now automatically recognized and silently upgraded to the modern format on first login. So if you ever need to upgrade an existing install, your old passwords will just work.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/dc4f20d8-8405-4d55-88de-9421e9fd8aben%40googlegroups.com.




To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/50cd13d9-efd1-4a15-b806-72a4df1f9b2en%40googlegroups.com.

To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/7d388a40-7b61-45b9-bce9-c0f5dd3a6871n%40googlegroups.com.
Hi Eduardo,
I can see a few things in your screenshot. Let me help you work through them:
These load data via AJAX calls. Something is preventing them from completing. Can you check your PHP error log? It's usually at:
/var/log/nginx/error.log/var/log/apache2/error.log/var/log/php8.4-fpm.logutf8_encode or utf8_decode, that's a known PHP 8.4 issue — those functions were removed. Let me know and I'll send you a patch.OpenStreetMap's tile servers are blocking requests from your server because of their usage policy. Two options:
Most likely, you tried the offline maps feature from years ago and they have blocked your IP address?Go to Config > System Settings and change the organization name and domain. If you can't access Config because the menu isn't loading, you can update it directly in the database:
UPDATE settings SET value = 'Your Organization' WHERE `key` = '_title';
UPDATE settings SET value = 'www.cisg.us' WHERE `key` = '_location';
The fastest way to diagnose the spinning widgets is to see the PHP error log. Can you send me the last 50 lines? Run:
tail -50 /var/log/php8.4-fpm.log
That will tell us exactly what's failing.
You can likely also expect another version in a couple of hours to support older php. Can you remind me of the version you're running right now?
Best,
Eric
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/d7666937-ffb9-4274-9b3d-b63bf1d01c16n%40googlegroups.com.
Hi Eduardo,
I can see the issue from your screenshots — both the menu (top.php) and the data panels (ajax.php) are returning 500 Internal Server Errors. This is likely a PHP version compatibility issue.
I've created a diagnostic tool that will tell us exactly what's wrong. Here's what to do:
Download this file and put it in your tickets/tools/ folder:
Or from the command line:
cd /path/to/tickets/tools/
wget https://raw.githubusercontent.com/openises/tickets/main/tools/diagnose.php
Go to:
You'll see a diagnostic report that checks:
Take a screenshot of the full page (you may need to scroll) and send it to me. That will tell me exactly what needs to be fixed.
If you're running PHP 8.2 or newer, two functions (utf8_encode and utf8_decode) were removed from PHP and any code using them crashes silently with a 500 error. The diagnostic tool checks for this specifically.
rm /path/to/tickets/tools/diagnose.php
Send me that screenshot and I'll get you a fix right away.
Best,
Eric
The diagnostic tool checks 8 categories: PHP version + removed functions, DB connection, required tables, admin accounts + hash types, version info, PHP compatibility tests, file permissions, and server info. It'll pinpoint the exact issue without needing server log access.
Hi Eduardo,
I found the issue and pushed a fix. Your server is likely running PHP 8.2 or newer, which removed two functions (utf8_encode and utf8_decode) that our code depends on. This causes the 500 Internal Server Errors you're seeing on the menu and data panels.
I've added a PHP compatibility layer that automatically polyfills these missing functions. To apply the fix:
Option A: Re-download 3.44.1
Download the latest code from GitHub — it includes the fix:
cd /path/to/tickets
git pull origin main
Option B: Add just the fix file
If you don't want to pull everything, download this one file and save it to tickets/incs/:
cd /path/to/tickets/incs/
wget https://raw.githubusercontent.com/openises/tickets/main/incs/compat.inc.php
Then add this line to the very top of incs/functions.inc.php (after <?php):
require_once(__DIR__ . '/compat.inc.php');
The compatibility layer handles PHP versions from 7.0 all the way through 8.4:
utf8_encode/utf8_decodeeach() and create_function()strftime() deprecation warningsAfter applying the fix, refresh the page and the menu and data panels should load.
If you're still having issues after applying the fix, run the diagnostic tool:
(Download it from https://raw.githubusercontent.com/openises/tickets/main/tools/diagnose.php into tickets/tools/)
It will check your PHP version, database connection, table existence, and file permissions — and tell you exactly what's wrong.
Let me know how it goes!
Best,
Eric
You received this message because you are subscribed to a topic in the Google Groups "Open Source CAD" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/open-source-cad/-UFmgs8YIWk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to open-source-c...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/CAJLaYFUkGTsHQe2QrBG5yCUX9DVuQOShhGyvJWonWBnYANJKEw%40mail.gmail.com.

To view this discussion visit https://groups.google.com/d/msgid/open-source-cad/CAEU62xxNei8%3DwvXzBG-aHUa1WbxAmNb8uPW_fcwkqx%3Dr_L%3DxcQ%40mail.gmail.com.