I have been searching for this problem since a while but without much help. Everyone seemed to leave it half way.
I want to dig a bit deeper as to why and how it is creating such a havoc for everyone.
Environment
Installed SugarCRM and installed addon module. The module seems to work however, around email line it shoots a warning on the page:
Warning: Smarty error: unable to read resource: "include/SugarFields/FieldsBase/detailViewFunction.tpl" in /public_html/xxx/include/Smarty/Smarty.class.php on line 1095
As per the suggestions earlier from other post, I have done following and I am still at square 1
Changed the filename to all possible combinations
Searched for code where it references detailViewFunction. It appears in base and enum folder only and is exactly same the way the filename is. There is no mention in the code OR file about small d as suggested by someone one of the users in StackOverflow. Simply put, it is not detailViewFunction; in both files it appears as DetailViewFunction and the filename is same as this.
Checked permissions and they are 755; tried changing to 777 but still the error is there.
Any one who was able to solve it?
El
Ref.: Warning: Smarty error: unable to read resource:
Related
I started working with Laravel. Faced a FatalErrorException:
Declaration of SessionHandlerInterface::1($save_path, $session_name) must be compatible with SessionHandlerInterface::1($maxlifetime)
in FileSessionHandler.php line 10
It was working yesterday, and as far as I remember, I have not updated anything.
I tried to look into file FileSessionHandler but I can't figure out the problem. I also tried to look for SessionHandlerInterface, but I am not able to find the Interface file.
How can I solve this problem?
Also please tell me the meaning of 1 after scope resolution operator.
Joomla q.
I tried updating my Joomla site, and that failed and I got a basic html version of my site. I tried to downgrade by extracting a former version of Joomla in the root folder. when this failed I tried to change it again the same way.
This gave me a white screen on both admin side and front end. After following the first few steps here
I'm finally getting this error:
*Parse error: syntax error, unexpected 'ini_set' (T_STRING), expecting function (T_FUNCTION) in /home/*****/public_html/configuration.php on line 98* (asterisks added)
There shouldn't be any ini_set function call in the configuration.php file. Your website is likely hacked - you should proceed accordingly. First cleanup your configuration.php file and then try this guide for quickly cleaning Joomla sites. Please note that usage of this guide is at your own risk and you must always backup your Joomla site before doing this. Also note that if your Joomla site has core modifications then they will be wiped out. Finally, keep in mind that you may still have reminiscent hacked files on your site even after implementing the above, so you clean those as well.
I'm trying to work my way through the Stanford open machine learning course and it requires me to run a .m file called submit1.m
I have this file and i have made sure i am in the correct directory.
When i try to run this file and submit my answer example - submit1.m(eye(5,5)
I receive this error message:
error: `submit1' undefined near line 9 column 1
Sorry in advance if I'm missing something really simple but I am a completely new to octave.
I have search for an answer on many forums but none of the given solutions are working for me.
If any more information is required please ask and i will do my best.
Thanks
I'm very new to coding. I've been using RPG Maker XP recently and have been able to fix most issues I've come across by Googling what needs to be done, however I seem to come across something I can't find an answer for.
I had deleted a class in the database (no script editing involved) so that I could rewrite it entirely, and when I finished and opened the game, I found a couldn't open the menu and the game shut down after showing this error message.
Script 'Game_Actor' line 335 : NoMethodError occured. Unable to find
method 'name' for nil:NilClass.
I looked at line 335 under the 'Game_Actor' window and saw this:
return $data_classes[#class_id].name
As I've said, I know very little about code and so I can't actually see anything wrong with this. I didn't rewrite or edit any of the actual script so I'm not sure how I have affected the script. (I haven't touched any script on the principle I have no idea how to fix it.)
I have searched for answers but unfortunately most people seem to be using later version of the RPG Maker like Ace or MV, and they're different enough to XP that the answers are not relevant to this issue.
If anyone could point me in the right direction, or tell me how to fix this, I would be very appreciative. I've worked really hard on this project and I would hate to have to scrap it and start over.
Thanks again!
Basicaly the error message sais that $data_classes[#class_id] is nil (and that's why $data_classes[#class_id].name is unavailable), so you have to check where it becomes nil and why. I'm afraid further help is impossible without you showing us more code of your app (presumably the full code).
It is likely that the code still tries to access the 'class' you deleted in the database. I take it you deleted a database table, is that right?
The error Unable to find method 'name' for nil:NilClass. means that the variable on which the code is trying access the method name is actually nil. The code expects it to contain an object instead.
From the look of it, $data_classes[#class_id] is a hash which is filled with definitions of 'classes'. It gets filled at some earlier point and since you did delete a class, it cannot find a definition for it.
Important here is that it still knows that it needs the class you deleted. It means this class is mentioned somewhere else before this hash initialization takes place. It might be in a config file or another 'class'. Without seeing the complete code it's hard to ponpoint where exactly.
If you cant find this location, try to restore the class you deleted and instead of deleting it altogether just remove anything from it that you don't need. This way the class itself will still be present and this error will not happen. You will be then able to add what you want in that class instead.
I'm getting an error in the admin page when I try to login, it was working fine and I would like to know if you can please help find out what may be causing the error and how to fix it. The error is:
Fatal error: Class 'Magpleasure_Filesystem_Helper_Data' not found in /home/site/public_html/app/Mage.php on line 546
The admin page is only showing the header and the error line code, the search box but the search box is not giving any results neither. However, the front of the store is working find, no issues in front. Please help, thank you
Best Regards,
Jenny
99% that you were hacked and that you didn't apply the two patches which were released by magento some weeks ago...
I have seen that issue 1 day ago at a client side of mine and they also didn't apply the patch.
check also this: https://magento.stackexchange.com/questions/64461/error-logging-in-the-admin-panel-fatal-error-class-magpleasure-filesystem-help
It also happened to me. Did not install the security patches.
Follow the steps from this post:
https://magento.stackexchange.com/questions/64461/error-logging-in-the-admin-panel-fatal-error-class-magpleasure-filesystem-help
Remove all files: app/code/community/Magpleasure/Filesystem/
Clear your cache, login should be possible now.
Check for new "Admin Users"
Patch your System with SUPEE-5344!
This happened to my site AGAIN, even after removing the magepleasure files, and then installing the 2 security patches.
I looked in the community and local folders as noted above in the way that I fixed this the first time around. This time there was one called Ma2.
I deleted the files from both places and deleted the cache folder contents on the server. I was then able to get the backend again. There was another unauthorized user, deleted it.
There is a remaining problem though. Anybody know where to look to fully delete the problem?
This is Compiler Error edit index.php, there just comment out following lines
$compilerConfig = MAGENTO_ROOT . '/includes/config.php'; if
(file_exists($compilerConfig)) {
include $compilerConfig; }
it will fix now..
This looks like an extension has been installed but not completely. The error is because Magento is trying to find the file Magpleasure_Filesystem_Helper_Data which I guess will either be under code base local or community app/code/local/Magpleasure/Filesystem/Helper/Data.php but the file is not there.
I would suggest reinstalling the extension either by magento connect or locally and deploy to your system and if you are still having issues contacting the developer directly may be your best bet.