Everything important in Osclass 8.3.1: security hardening, compatibility updates, and quality-of-life enhancements.
Osclass 8.3.1 is a significant update focused on security, compatibility, and usability. This release introduces PHP 8.5 support, major improvements in session and cookie handling, database upgrades for emoji compatibility, and numerous fixes across backoffice and frontend. Below, we break down each area with context and actionable insights.
This update ensures Osclass is ready for modern hosting environments. By supporting PHP 8.5 and refreshing core libraries, sites gain better performance and long-term stability.
Security has been strengthened with a complete overhaul of session and cookie handling. These changes protect against XSS and man-in-the-middle attacks while offering controlled flexibility for developers.
Osclass now supports full emoji compatibility by converting the database to utf8mb4. This ensures better handling of multilingual content and modern character sets.
Admin workflows are smoother thanks to UI tweaks and new options that reduce repetitive tasks and improve visibility.
Search has been refined for relevance and usability. Pagination issues caused by caching are resolved, and admins gain more control over results per page.
Routing is more flexible, supporting advanced parameters and SEO-friendly navigation. Developers can now build cleaner, more versatile URLs.
Static asset handling and API validation have been improved to reduce stale files and security-related false positives.
Email handling is smarter, reducing duplication and improving user communication. Alerts now respect bans and avoid unnecessary sends.
Frontend fixes ensure better user experience and accurate data display. Mobile editing and comment visibility are now more intuitive.
Maintenance tasks are easier to monitor, and automated upgrades handle renamed folders gracefully.
New helper functions simplify common tasks and encourage consistent coding practices.
Before upgrading, follow these steps to ensure a smooth transition:
Osclass 8.3.1 is more than a routine update - it’s a strategic step toward stronger security, modern compatibility, and smoother user experience. By embracing PHP 8.5 support, enforcing secure cookie handling, and introducing utf8mb4 for full emoji and multilingual compatibility, this release positions Osclass for long-term stability and global reach. Admins will appreciate the backoffice refinements, smarter search, and improved routing flexibility, while developers gain new helper functions and cleaner APIs for building robust extensions.
The upgrade also addresses critical pain points like cache inconsistencies, duplicate email templates, and mobile editing challenges, ensuring a more reliable platform for both site owners and end users. With enhanced cron monitoring, automated folder handling, and better asset management, maintenance becomes simpler and less error-prone.
In short, Osclass 8.3.1 delivers a secure, scalable, and user-friendly foundation for classifieds websites. Apply the recommended upgrade steps, test your customizations, and take advantage of the new features to keep your marketplace competitive and future-ready.
Previous: Osclass 8.3. Next: Osclass 8.4 overview.
Question: Why is everyone logged out after upgrading to Osclass 8.3.1 from OsclassPoint?
Answer: Osclass 8.3.1 rewrites session and cookie handling and applies HttpOnly and Secure flags, so existing sessions are invalid. Backup the site, upgrade, then users sign in again. This is expected, not a failed install. Do not roll back only to restore old cookies. Warn sellers before you run the package.
Question: How do I allow a JavaScript-readable cookie with ocjs_ in Osclass 8.3.1?
Answer: Osclass 8.3.1 cookies are HttpOnly unless the name uses a safe pattern such as _unsecure or ocjs_. Use those prefixes for cookies that JavaScript must read. Other names stay hidden from scripts. _get, _set, and _drop are the new cookie helpers. Test the script after you rename the cookie.
Question: What does UPGRADE_UTF8MB4_SOFT do in Osclass 8.3.1?
Answer: Define UPGRADE_UTF8MB4_SOFT in Osclass 8.3.1 if you need to skip a full automatic utf8mb4 conversion. The normal upgrade still tries to convert database, tables, and the connection. Remaining SQL is listed by osc_utf8mb4_sqls() and may need manual execution. Large ALTER statements need maintenance planning; cron is not required to finish them.
Question: Does Osclass 8.3.1 support PHP 8.5?
Answer: Osclass 8.3.1 adds full core compatibility with PHP 8.5, including updated libraries such as PHPMailer. Osclass 8.3.0 stopped at PHP 8.4. Themes and plugins must also support PHP 8.5; core support does not upgrade an old theme. Test on staging after you switch hosting. Update products that still throw deprecations.
Question: Do Osclass 8.3.1 search alerts skip banned emails?
Answer: Osclass 8.3.1 search alerts skip banned emails so those addresses do not keep getting alert mail. Combine this with the alerts cleanup from 8.0.1. Check the alerts table if a banned user still appears. Ban rules themselves live under the ban screens. Test with a banned address after upgrade.
Question: Why does Osclass 8.3.1 show a cron warning on the dashboard?
Answer: Osclass 8.3.1 warns on the dashboard when cron is not running, because alerts, logs, and maintenance tasks need it. Open cron history, confirm the hosting cron command, run it once by hand, and check the last successful run. Fix the job rather than hiding the widget. A site without cron skips those tasks.