I installed the codeigniter HMVC plugin and it's working fine for me but when I try to load any plugin I get the error
An Error Was Encountered
Unable to locate the file: captcha_pi.php
Even if this file exists. I added one more plugin but it's the same. Do plugins work with HMVC?
The problem is that captcha is not a plugin, it's a helper (the reference guide example loads it as a plugin).
So, all you need to do is:
$this->load->helper('captcha');
instead of:
$this->load->plugin('captcha');
Plugins are a dying breed anyway. What version of CodeIgniter are you using, and what version of HMVC? The most recent is designed to work with CI 2.0 with compatibility for 1.7.x, but it could well be that it's broken. You should upgrade to CodeIgniter 2.0 anyway.
Related
In one of our Codeigniter Project we are facing issues while upgrading it's version from 2.1.4 to 3.1.11.
We have followed Codeigniter Official site to upgrade the version but as we have HMVC Structure that method is not working properly.
We have followed the method mentioned in these sites - https://codeigniter.com/userguide3/installation/upgrade_300.html
and https://www.chuongduong.net/ci3/installation/upgrade_300.html.
But by following both the sites and solving the errors after that we reached to the 404 error at last.
Can anyone please help us here? Anyone who has any idea about upgradation in HMVC structure.
Let me know if you need any information.
Thanks.
replace index.php file and add error folder from new downloaded Ci3 to location application/view/ in your project
My Joomla powered website was hacked several days ago, after it was cleaned and restored, a problem emerged.
On back-end, when I click Components -> k2 and an fatal error appears:
Fatal error: Class 'K2HelperHTML' not found in ~/administrator/components/com_k2/k2.php on line 77
I compare this k2.php file with a working site's k2.php but no differenced was found.
Then I inpsected the file where class K2HelperHTML was defined, which I believe is ~\administrator\components\com_k2\helpers\html.php, it doesn't show any differenct from a working site's corresponding file.
Now I'm stuck here, what should I do next to repair this.
Have you tried reinstalling the most recent version? That would be a good place to start. Simply use the Joomla installer to install the latest version.
I just encountered same problem with fresh installed component and solution for me was pretty easy. All I had to do, was clear application cache.
To do it go to System -> Clear Cache and then click Delete all.
I performed a migration of my site in Joomla which was in version 1.5.22 to version 2.5 using jUpgrade. After the migration when I opened the url "mysite.com/jupgrade" to see how my new site will look, I am getting the error:
#404 Component not found
I checked into the jupgrade/components/ folder and noticed a number of components missing. The tables corresponding to the components are also missing. Do I need to migrate these components manually or some alternative solution is available?
Some components will need to be done manually as a lot of them have 2 separate versions for 1.5 and 2.5. Simply install the Joomla 2.5 version of the extensions that aren't working and this should solve your problem
I can't seem to get tank auth installed correctly, I copied over the files, but everytime I visit 'localhost/auth' it gives me the error Unable to load the requested class: security.
The documentation I've been able to find is very light, and doesn't cover this error (or how to install it). I am installing on a windows box running WAMP. But am planning to move it to a linux box running apache after development.
Thoughts?
I had the same problem on latest codeigniter 2.1.0
Commenting the $this->load->library('security'); from auth.php controller will remove the error. Codeigniter 2.1.0 has security class automatically loading at the core.
I have updated my repo with the changes, hope someone finds it useful, https://bitbucket.org/mtsandeep/tank-auth-with-roles/overview
I am using joomla 1.0.13 and i am trying to access JACLplus but this error is occuring and i dont know why? it was running fine and all of a sudden now it is saying this?
Sorry, Component JACLPlus has been installed UNSUCCESSFULLY
i have never used joomla and have inherited it.
Before anything else, your version of Joomla is way out of date. The current version is 1.5.22. You should look at upgrading.
As for the error, can you see JACL in the backend of the website? Looks like it's been uninstalled but not all of the files have been removed.