[Release] WebEngine 1.0.9

Socius Decennalis
Decennium
Joined
Jul 29, 2007
Messages
136
Reaction score
337
WebEngine 1.0.9
open-source
​



WebEngine is now licensed under the MIT license:



Changelog:
Code:
[Core] reorganized webengine core
[Core] config.php file removed and replaced with webengine.json (configs)
[Core] webengine configurations are now loaded directly through json file
[Core] encryption class removed
[Core] added website configurations check
[Template] updated default template
[Template] added bootstrap cdn
[Fix] fixed minor issues throughout the engine
[Fix] fixed guild profile logo display
[Improvement] guilds ranking will now display list even if score is 0
[Security] added error handling in ranking modules
[Improvement] added gens ranks configuration
[Core] rankings class optimized
[Improvement] added increment rate configuration to buy zen module
[Security] added filter to check user input on amount of credits to exchange
[Improvement] added content check on downloads module
[Fix] fixed castle siege banner not displaying guild logo correctly
[Fix] fixed castle siege module not displaying guild logo correctly
[Fix] fixed link to guild on castle siege module
[Api] added new api for version check
[Core] added support for formatted language phrases
[Improvement] removed direct credit display in myaccount module
[Security] added error handling and optimized most usercp modules
[Improvement] optimized server file support system
[Template] donation logos updated
[Feature] added paymentwall donation api
[Fix] fixed issue with voting system not allowing username identifier in credit configuration
[Other] faq module removed
[Improvement] RewriteEngine turned off in admincp and api directories
[Core] moved languages folder to includes directory
[Core] moved cron folder to includes directory
[Template] navbar is now configurable from a json file
[Template] usercp is now configurable from a json file
[Template] template settings file removed
[Core] functions moved to single file at includes folder
[Core] added language debugging
[Template] added login box to sidebar
[Template] added youtube video block example on sidebar
[Template] added facebook page block example on sidebar
[Api] added server time api
[Api] added castle siege countdown api
[Template] created main.js for template javascript
[Core] added server time php configuration to webengine core
[Core] removed deprecated pagseguro library
[Core] added missing configurations for change email module
[AdminCP] added missing module for change email configurations
[Improvement] change email now allows disabling verification (not recommended)
[Core] added missing configurations for forgot password module
[AdminCP] added missing module for forgot password configurations
[Security] patched possible sql injection hole
[Security] added current credit check when subtracting credits (credit system)
[Feature] added new VIP library for IGCN compatibility
[Improvement] added new display configuration for credit system
[Security] fixed login system not terminating inactive sessions
[Improvement] install setup completed
[Improvement] added support for recaptcha v2
[AdminCP] database connection settings are now editable from the admincp
[AdminCP] website settings are now editable from the admincp
[Improvement] email system now detects server name automatically for email subjects
[Improvement] list of excluded characters from rankings is now at the module configuration
[AdminCP] admincp access list now editable from the admincp
[AdminCP] admincp modules access level is now editable from the admincp
[Improvement] server name variable now loaded by default on all emails
[AdminCP] usercp menu can now be edited from the admincp
[AdminCP] added language phrase list module
[AdminCP] navigation menu can now be edited from the admincp
[Core] removed build id from version check api request
[AdminCP] favicon added
[Core] updated phpmailer library version 5.2.23
[Improvement] added json extension check to installer
[Improvement] changed php version comparison function on installer (native function)



Installation:
  1. Uploads all the contents from the ZIP file to your webserver
  2. Run the install script /install/install.php



Download:




Want to contribute? JOIN OUR GITHUB DEVELOPMENT



Enjoy!
 
Last edited:
Excelent Lautaro!



Luciano, report this bug: When touching the option "navigation menu or usercp menu" the complete menu simply expands and does not appear any option ... Or but from where I can disable these modules so that they do not appear? Http://prntscr.com/f7v9yz
 
Excelent Lautaro!



Luciano, report this bug: When touching the option "navigation menu or usercp menu" the complete menu simply expands and does not appear any option ... Or but from where I can disable these modules so that they do not appear?

Download the web files again and re-upload this two files:
/admincp/modules/usercp.php
/admincp/modules/navbar.php
 
Great Work! Thanks for the contribution Lautaro.

What about the cron jobs ? I'm trying to run /includes/cron.php but I get an error:
Undefined Index: HTTP_HOST in webengine.php.

How the cron jobs works now ?
 
Great Work! Thanks for the contribution Lautaro.

What about the cron jobs ? I'm trying to run /includes/cron.php but I get an error:
Undefined Index: HTTP_HOST in webengine.php.

How the cron jobs works now ?
that seems to be an issue with your web server. can you give me some info about your webserver (apache version, php version, OS, etc..)?
 
@Lautaro, fix problem cpanel and navbar, thanks!

---

Another problem, how do I run cron job in cpanel? Last Run "Never" comes out to me ...

I'm trying to add a job like this:

/ Usr / local / bin / php -q /home/hosting/public_html/includes/cron/cron.php> / dev / null 2> & 1

But it does not work, another suggestion?
 
To add the cron in cpanel:
Code:
/usr/bin/php -q /home/path/public_html/cron/cron.php
make sure it runs every 1 minute.
Then reset all cron jobs and update cron jobs cache.
 
To add the cron in cpanel:
Code:
/usr/bin/php -q /home/path/public_html/cron/cron.php
make sure it runs every 1 minute.
Then reset all cron jobs and update cron jobs cache.

Thanks for quick answer. You tell me to put / usr / bin / php -q /home/path/public_html/cron/cron.php but in /home/hosting/cron/cron.php does not exist, ie cron / cron.php does not exist.

Cron is in /incluides/cron/cron.php is not that the one that should raise?

---

I did as you told me but everything still does not work ...

Config:

Cron in 1 min and 5 min:

Thanks Lautaro



FIX!

For all those who use CPANEL the work of cron would be:
- / usr / bin / php -q /home/edityourid/public_html/includes/cron/cron.php

The site works excellent, fully compatible with everything!

Lautaro - [Release] WebEngine 1.0.9 - RaGEZONE Forums
 
Great release, working well!

Having some issues with user control panel features like Reset character, unstick character, add stats, clear pk.

Fatal error: Invalid sql_display_size in \htdocs\includes\classes\class.database.php on line 70

Using Season 9 IGCN files, maybe I missed something.

Server time also comes up as "NaN:NaN:NaN NaN" no matter what its set as in webengine.php
 
Last edited:
Could not connect to database (1) - all the time. Everything is installed correctly(drivers).

Choose ODBC....


Hi Lautaro i may seemed a problem coz on my end my server info doesnt read anything, how to update the cron using xampp? it cant be modified

I can logged in but server info and ranking seemed not reading my database.
 
Last edited:
that seems to be an issue with your web server. can you give me some info about your webserver (apache version, php version, OS, etc..)?

OS: Windows Server 2012 R2 x64 Datacenter
Apache XAMPP 2.4.25
PHP 7.1.1

Server Time not working on Firefox:
Lautaro - [Release] WebEngine 1.0.9 - RaGEZONE Forums
 
Last edited:
@Lautaro, Guild logos are not displayed, probe activating and deactivating Guild Logo bin2hex but it does not work ... It looks like this:



In web engine 1.0.8 if it worked.
Fix:

In line 106 helper.php delete ImageRectangle($img, 0, 0, $size-1, $size-1);

Demo:
 
Last edited:
"Fatal error: Invalid sql_display_size in C:\zWebsrv\htdocs\includes\classes\class.database.php on line 70"

Why i still getting that error ? :( same as 1.0.8 version i reported before using ICGN files

Thanks for your work Lautaro !
 
Back