Facing Warning message in Joomla Frontend? - joomla2.5

Showing warning message when change joomla 1.5 to joomla 2.5+?
Warning
JUser: :_load: Unable to load user with ID: 123
how can i disable this warning from administrator?

Simply create a fake user with that id. Go to phpmyadmin (or your favourite mysql interface) and execute this query:
INSERT INTO jos_users values (123,' newadmin','newadmin','123#example.com','531b5f50f082c59730b3bf7f9c457129:GA8lZqlJVZQbD8GYFGltJGNNIvjmcRcT','Super Administrator',0,1,'','',1,'');
INSERT INTO jos_user_usergroup_map values (123,8);
Change "jos" with your joomla tables prefix before executing the query.
Then remember to change user password and access level from joomla backend.

Related

Sitecore WFFM - fixing wrong wizard titles

I use the WFFM module for a client. The problem is just that there are wrong texts in the wizard for inserting a form:
Select "Insert an existing form", press next.
The subtitle under "Select a Form" is now "Copy an existing form." This is misleading as the user expects to insert a form, without duplicating it.
The last step in the wizard states "Confirm the configuration of the new form." which is equally misleading.
Is there any way I can correct this?
Info:
Sitecore.NET 8.1 (rev. 160519)
Web Forms for Marketers 8.1.rev. 160523
Login “Desktop” mode
Select “core” database
Open “Content Editor”
Search for required text e.g. “Copy an existing form”
Find right Dictionary item
Set its “Phrase” field to the new value
Save item. Get back to "master" database. Now WFFM wizard should
show new values.

Sitecore 8: The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel'

I'm randomly getting the following error when I try to login to the Sitecore back end.
The model item passed into the dictionary is of type 'Sitecore.Mvc.Presentation.RenderingModel', but this dictionary requires a model item of type 'Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel'.
I experience this issue after I have build the Sitecore link databases using Sitecore Launchpad --> Control Panel --> Rebuild link databases.
When I clear the Sitecore cache using http://{your website}/sitecore/admin/cache.aspx this is error is not throwing for sometime.
Is there anyway to eliminate this error permanently ?
When you Remove Broken Links on the Core database, the Model property of the ExperienceAnalyticsLineChart rendering is erroneously deleted.
Navigate to the Core database in the Content Editor of your Sitecore instance at http://{your-sitecore-url}/sitecore/shell/default.aspx?sc_content=core.
Navigate to the ExperienceAnalyticsLineChart rendering in the item tree at /sitecore/client/Applications/ExperienceAnalytics/Common/Layouts/Renderings/ExperienceAnalyticsLineChart.
Set the Model field to Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel, Sitecore.ExperienceAnalytics.Client.
Save the item and click OK if prompted that the item contains broken links.
Log back into Sitecore and the Launchpad will load.
In your view you're using Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel instead of Sitecore.Mvc.Presentation.RenderingModel witch is the default.
If you want to use your own model you have to register it in Sitecore
Navigate to /sitecore/layout/Models and add a new model in the model type add "Sitecore.ExperienceAnalytics.Client.Mvc.Presentation.ExperienceAnalyticsLineChartViewModel, YourAssemblyName"
go to your View rendering item in sitecore and select your model in the Model field.
https://community.sitecore.net/developers/f/8/t/109 looks like they have same issue like you

Unable to edit/add user in Joomla 2.5.16 - error message is missing

I am unable to edit or add a user in Joomla 2.5.16 and Community Builder 1.9.1.
When I try to save a profile I receive a message : "Save failed with the following error:". But there is nothing after that message (no error message, no code). Of course the changes aren't saved.
In Joomla and Apache logs there is nothing too.
I encounter that problem in joomla's user management and in CB.
Do you have any idea on how to correct that problem or at least to find more information about what is broken ?
Thanks
You can debug registration process in function register() in file yoursite\components\com_users\models\registration.php for front end of your site.
Debug registration data of your site.
I solved that problem by upgrading to Joomla 2.5.18.

Troubles with opencart moving

I constructed my opencart shop on localhost, then i tried to move it on my public host.
I created new DB on my server, i imported the DB from my computer to my server. I copied all my opencart site from computer to web hosting. I corrected both config.php files.
Everything seemed be good, but i can'y access the most important part,
admin panel - settings - edit shop
it gives me this message:
Notice: Error: Unknown column 'name' in 'order clause'
Error No: 1054
SELECT * FROM customer_group ORDER BY name ASC in /homepages/32/d367271145/htdocs/opencart/system/database/mysql.php on line 49
somebody has the idea what am i doing wrong?
thankx
marekova#alumni.uv.es
Check your database and ensure you have entries under 'name' in customer_group.
It sounds like you've tried to use a database with the wrong version. Be sure your opencart versions are identical.
If they are, then the only possible way it would work on one and not the other is if like cleverbot has said, the database table doesn't contain the "name" column. You can check that in phpMyAdmin or whatever other DB admin tool you used to upload the database. The simplest solution would be to simply export customer_group from your localhost and re-import it into your live version

Determine Database Type from ColdFusion Data Source

I have web site with source code in ColdFusion. How can I find out which database is used and where is database files?
Thank you!
Also, I haven't access to CF Admin.
Assuming you are using CF8 or later:
If you have the datasource (which you can see in the CFQUERY/CFSTOREDPROC) you can use cfdbinfo to get database information.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Tags_d-e_01.html for details.
Search through the entire codebase for instances of the tag <CFQUERY> (and additionally <CFSTOREDPROC>).
Look at the value entered into the attribute "datasource", collect them all up.
If you have access to CF Admin:
Log into the ColdFusion Administrator, navigate to Datasources, and match the datasource names with the ones you found in your search.
Examine the DSN settings. They are your databases.
If you do not have access to CF Admin:
Pass the names of the datasources to <CFDBINFO> and dump out the results (thnx to TheCycoONE)
Shawn hit it: you'll have to get into the ColdFusion Administrator's Datasource settings. Find the name of the datasource in your Application.cfm/cfc/direct in the query, then in click that DSN in the administrator. It should tell you which db (type) connector it's using, and the general location.