Thứ Bảy, 7 tháng 9, 2024

Joomla5, joomla 4 use groups 342 groups work slow and save failed - SOLVED

Detail: Usergroup have many groups 342, article not save, config not save
Reason: PHP.ini max_input_vars 1000, require increase to 2000 or more
Solution: CPANEL -> MultiPHP INI Editor ->max_input_vars set 2000 or more

 





Thứ Năm, 5 tháng 9, 2024

joomla 5 wanring RuntimeException: Could not connect to statistics server


Solution: administrator > System> Global configuration> tab System> turn off 'Debug'



 

Thứ Ba, 13 tháng 8, 2024

Joomla 5 - disable update extentions, components, packaged - SOLVED

Detail: disable notes upgrade from extension
Solution:
1. administrator/index.php?option=com_installer&view=updatesites
Disable items
2. administrator/index.php?option=com_installer&view=update
Run 'Check for update' button for refesh notice




 

Thứ Sáu, 9 tháng 8, 2024

Joomla5- php 8.1 error Attempted to load class "DOMDocument" - SOLVED


Detail: PHP 7.3 SUCCESS, PHP 8.1 + 8.2 error "DOMDocument"
Error: php 8.1 Attempted to load class "DOMDocument" from the global namespace.Did you forget a "use" statement?

Solution: CPANEL goto PHP Selector > extension check XML package checked all

 


Thứ Hai, 29 tháng 7, 2024

J5 menu item login the first page You don't have permission to access - SOLVED

Detail:
danger
You don't have permission to access this. Please contact a website administrator if this is incorrect.

Menu item > login. The first page warning
Module login not warning
-
Solution:
Administrator>menu login > tab options > login redirect : specify exactly value example 'index.php?Itemid=101'

 


Chủ Nhật, 28 tháng 7, 2024

joomla 5 Class "JResponse" not found - SOLVED

Change
JResponse::getHeaders();
JResponse::getBody()
to
JFactory::getApplication()->getHeaders();
JFactory::getApplication()->getBody();

 



 

Manual mysql import Categories,Artiles, Menu joomla 3.10.12 to joomla 5.1.2 - SOLVED

PHPMyAdmin, manual mysql import Categories,Artiles, Menu joomla 3.10.12 to joomla 5.1.2

Backup each before do anything
1. J3 export table _categories, _content, _menu:

_categories export type extension = 'com_content' only
_content export all data
_menu export menutype='mainmenu' or require menu only, not export all
2. J5 Import _categories, _content, _menu : 

 _categories remove all extension = 'com_content', then import from j3
_content add column 'xreference' varchar 50 null, import all. Then remove column 'xreference'
_menu remove menutype='mainmenu', import from j3


ISSUES MUST COUNTER: #_ is prefix table


1. J5 BACK END + FRONT END article not view, not access: reason j5 require table __workflow_associations
Run this query:
INSERT INTO #_workflow_associations (item_id, stage_id, extension)
SELECT c.id as item_id, '1', 'com_content.article' FROM #_content AS c
WHERE NOT EXISTS (SELECT wa.item_id FROM #_workflow_associations AS wa WHERE wa.item_id = c.id);


2. J5 FRONT END article not view: reason j5 _content have `publish_down`. set null is allow view
UPDATE `#_content` SET `publish_down`=null;
-

3. J5 FRONT END 'Category not found':  this relate table _assests, but we use administrator>Articles>Categoryies -> Rebuild
This will update _asset, -> category blog view



4. J5 Front End main menu links wrong article,category blog link: reason J5 table _menu require 'component_id', must set component_id to article component
UPDATE `#_menu` SET `component_id`=MUST_GET_COMPONENT_ID WHERE menutype = 'mainmenu'

 



5. Reset #_menu template_style_id:

#_menu set template_style_id=0

Thứ Hai, 22 tháng 7, 2024

Joomla5 JString not found


Detail: upgrade j3 to j5 JString not found
Solution: Change to
use Joomla\String\StringHelper;
JString->StringHelper




Joomla5 JArrayHelper not found


Detail: upgrade j3 to j5, error view JArrayHelper not found
Solution: add user ArrayHelper and replace
Replace
JArrayHelper
To
/*at top file PHP*/
use Joomla\Utilities\ArrayHelper;
ArrayHelper

 



Upgrade to joomla5 JRequest not found


Detail: upgrade j3 to joomla 5 error JRequest not found
Solution:
Replace
JRequest::getVar('item');
To
Joomla\CMS\Factory::getApplication()->getInput()->get('item');



 

Thứ Bảy, 13 tháng 7, 2024

JQuery 1.9 and above .size() is not function

Detail: jquery 1.9 above not allow element.size() funtion, instead use .length
Solution: replace .size() to .length
or : this is will return length not change code
$.fn.size = function() {
    return this.length;
}

 



 

Thứ Năm, 11 tháng 7, 2024

xampp - MySQL: Error Code: 1118 Row size too large - SOVLED


Detail: Local host Xampp 3.3.0, phpmyadmin import .sql file -> error
Error Code: 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB
Solution: goto https://localhost/phpmyadmin runt sql: SET GLOBAL innodb_strict_mode = 0;
Status: SOLVED



Thứ Bảy, 29 tháng 6, 2024

Issue joomla Content-Security-Policy blocked a JavaScript .htaccess SOLVED

Browser error: Content-Security-Policy: The page’s settings blocked a JavaScript eval (script-src) from being executed because it violates the following directive: “script-src 'self' 'unsafe-inline' ...

Reason: host setting or .htaccess block scripts

Solutions: solution 1 or 2
Solution 1: .htaccess check example line

#Header set Content-Security-Policy "script-src 'self' 'unsafe-inline' https://cdn.ckeditor.com https://ajax.googleapis.com/ https://cdn.jsdelivr.net https://js.calltrk.com/ https://birdeye.com/ https://cdn.calltrk.com/ https://www.google-analytics.com/ https://widgets-v7.birdeye.com/ https://www.googletagmanager.com/ https://portal.setmysite.com/; object-src 'none';"

Remove or disable this line


Solution 2: .htaccess admin line s
<IfModule mod_headers.c>
Header always set Content-Security-Policy "script-src 'none'"
</IfModule>

 

 



Thứ Năm, 27 tháng 6, 2024

.htaccess rewrite rule change '/' to '?'

Details: .htaccess rewrite rule change '/' to '?'
http://mydomain.com/myservices/support
to
http://mydomain.com/myservices?support
 

Solution:
<IfModule mod_rewrite.c>
    RewriteRule ^myservices/(.*)$ /myservices?$1 [R=301,NC,L]
</IfModule>

Thứ Hai, 13 tháng 5, 2024

Chronoform8 date Na.Na error by param

Detail: Joomla 5, chronoform 8. Safary url param error aN.aN.aN
While firefox, chrome, ie good work
Test link
http://localtest.com/?kurs_datum=05-14-2024: ERROR, 05-14-2024, 05.14.2024 EROR
http://localtest.com/?kurs_datum=05/14/2024 good work

Solution: change to param form format 05/14/2024.  I do not know exactly why safari not allow, may be dateime format require '/'




Thứ Sáu, 3 tháng 5, 2024

Upgrade chronoform 5 to chonoform 8


Decription: chronform 5 for joomla 3.x, chronoform 8 for joomla 5.x
Chronoform 5 structure >< chronform 8 too much different. Form param and save data

Install chronoform 8 joomla 5
Tab Fields:
    Add forms safe form name
    manual create fields, step by step
Tab Submit:
    Add Email
    Add Message



 

Thứ Ba, 19 tháng 3, 2024

Wordpress wp-admin login access alway not allow access - SOLVED

 

Access to the WordPress wp-admin login is frequently denied, causing frustration. Here's a step-by-step troubleshooting guide:

  1. Check .htaccess: Ensure there are no misconfigurations or rules blocking access in the .htaccess file.

  2. Review Plugins: Deactivate plugins one by one to identify any conflicts causing the access issue.

  3. Verify User Account and Password: Double-check the correctness of the user credentials, ensuring there are no typos or errors.

  4. Inspect Folder and File Permissions: Ensure appropriate permissions are set for folders and files to allow access.

The root cause often lies in a database table, particularly in the mater_options table, where the prefix might be incorrectly set. To resolve this:

  1. Access the mater_options table in the database.
  2. Find the line with the ID 95.
  3. Change the value from O34BC_user_roles to prefix__user_roles, where 'prefix' represents the correct prefix for your WordPress installation.

By following these steps, you can rectify the login access issue and regain control of your WordPress admin panel.


 




Thứ Sáu, 8 tháng 3, 2024

Contact Private Policy enable/disable joomla 5


Admin > Plugins > find 'Content - Confirm Consent'
Enable/Disable, edit text and link contact policy


 

Thứ Năm, 7 tháng 3, 2024

plg-chatgpt-1.0.2 joomla 4-5 not respond - SOLVED

Issue the same you posted, load not respond
Link download: https://github.com/R2H-BV/chatgpt
Detail: joomla 5, tinyMCE or JCE editor - SOVLED
Time : 2024 March 07 20:41
Reason: open api invalid model
Solution: replace model 'gpt-3.5-turbo-instruct, babbage-002, davinci-002'. This base from https://openai.com/
- media\plg_editors-xtd_chatgpt\js\chatgpt-default.js
- Replace lines: 69-74
let raw = JSON.stringify({
    'prompt': input,
    'model': apiModel,
    'max_tokens': apiTokens,
    'temperature': apiTemp
});

To
let raw = JSON.stringify({
    'prompt': input,
    'model': 'gpt-3.5-turbo-instruct',
    'max_tokens': apiTokens,
    'temperature': apiTemp
});

 



Thứ Ba, 27 tháng 2, 2024

Joomla 4/5 missing user Fields and Field Group - SOLVED

Issue: joomla 4/5 admin user > menu Fields And Field Group missing
Reason: User>Options > tab Integration > Edit Custom Fields YES/No

 


Chủ Nhật, 18 tháng 2, 2024

vmError: Empty slug product with id 20, entries exists fo language? en-GB - SOVLED

Description: joomla 4, virtumart 4.2.0 -> error  vmError: Empty slug product with id 20, entries exists fo language? en-GB
Solution:administrator\components\com_virtuemart\models\product.php quote line 1732-1737
Close code test slug

/*if(empty($product->slug)){
                    $msg = 'Empty slug product with id '.$product->virtuemart_product_id.', entries exists for language? '.VmConfig::$vmlangTag;
                    vmError($msg,$msg.' You may contact the administrator');
                } else {
                    vmError('Could not find product with id '.$product->virtuemart_product_id.', still existing?');
                }*/




Chủ Nhật, 7 tháng 1, 2024

Fast check joomla version not login administrator

 Fast check joomla version not login administrator
1. Open file administrator/manifests/files/joomla.xml
2. View <version>3.10.12 or ********</version>