After migration can not access admin in Opencart - opencart

I have just migrated my e-shop from one hosting to another, after fixed config.php and php setting. The page is working, but I am unable to access admin page.
The error:
Fatal error: Uncaught Error: Call to undefined method User::isLogged() in /data/web/virtuals/250608/virtual/www/admin/controller/common/home.php:685 Stack trace: #0 /data/web/virtuals/250608/virtual/www/vqmod/vqcache/vq2-system_engine_front.php(83): ControllerCommonHome->login() #1 /data/web/virtuals/250608/virtual/www/vqmod/vqcache/vq2-system_engine_front.php(37): Front->execute(Object(Action)) #2 /data/web/virtuals/250608/virtual/www/admin/index.php(167): Front->dispatch(Object(Action), Object(Action)) #3 {main} thrown in /data/web/virtuals/250608/virtual/www/admin/controller/common/home.php on line 685
Thanks, anyone for help, I really need it.

thank you for your answer.
I have tried to do migration one more time, admin area is now showing but after I log in there is only blank page. I have tried to change password through the form and it worked, so I suppose that database is connected properly. If you put in wrong username or password it won't let you in.
Now the only error is that I cannot see my dashboard.

Related

Fresh installation of Django-CMS as instructed at the url latest throws error

I am trying to use djangocms for the first time, using https://docs.django-cms.org/en/latest/introduction/01-install.html
I did exactly as instructed above and logged in but, as soon as i log in the following error occurs...
Request Method: GET
Request URL: http://127.0.0.1:8000/en/admin/cms/page/3/change/?language=en
Raised by: cms.admin.pageadmin.change_view
page object with primary key '3' does not exist.
Could anyone help and explain what might be my problem?
It's possible that you have an old redirect in your url when trying to login. You may have since deleted the page with the id 3 which is why it cannot be found.
If you visit the following url the issue should disappear and you should now be able to navigate to any page that is show in the page list: http://127.0.0.1:8000/en/admin

django error reporting request url - how to use this locally?

I have a django project which used the normal email admins on an unhandled exception when debug is set to False. ie in production.
I normally just review the error message and the stack trace. However I clicked on the request url link, which managed to recreate the error on the prouduction site (which then fired off another email).
What is this request url? Does it recreate the full http request (including the session etc..) which resulted in the original error?
Can I get the link to point to a local version of the site? (As after fixing a previous error clicking on the earlier request url has manged to create a recent error that we have been unable to reproduce, so it would be good to recreate this locally so it can be debugged.

Live Services: Unable to regenerate client secret for WNS

Im trying to regenerate my client secret at the url account.live.com/developers/applications/appsettings/* for my app (for push notification). When I click regenerate, it is stuck with 'Saving...' WHen I was inspecting the apge, I see the following error.
devPortalPackage_9SFHnFq2hYQlQAo6KyjLzw2.js:40 Uncaught TypeError: Cannot read property 'BICI' of undefined
devPortalPackage_9SFHnFq2hYQlQAo6KyjLzw2.js:1 Uncaught TypeError: $BSI.reportEvent is not a function
Thoughts how to over come this? I tried on a chrome/Mac, Chrome/Windows and IE/Windows, the issue remains the same.
Appreciate the help. Thanks.
Can you try navigating to https://apps.dev.microsoft.com/#/appList and click on your app, and see if that works?
I think the account.live.com/developers/* site is old which is why you are running into issues. My account redirects me to https://apps.dev.microsoft.com.

CiviCRM: Error when sending mail- emails not getting to all recipients

since mid-August I've seen a sharp drop in the # of people who are opening our e-newsletters, and wonder if the error below is related, what it means, and whether there's a solution? I'm not getting bounced emails, and the people I've checked with have said the messages aren't going into their spam; the emails aren't reaching some mailboxes at all. I tried to look at the source mentioned in the trace, but I couldn't figure out anything from it.
-----------------------------ERROR MESSAGE IN LOG-------------------------------------
Sep 17 13:56:26 [info] $Fatal Error Details = Array
(
[message] => We can't load the requested web page. This page requires cookies to be enabled in your browser settings. Please check this setting and enable cookies (if they are not enabled). Then try again. If this error persists, contact the site adminstrator for assistance.<br /><br />Site Administrators: This error may indicate that users are accessing this page using a domain or URL other than the configured Base URL. EXAMPLE: Base URL is http://example.org, but some users are accessing the page via http://www.example.org or a domain alias like http://myotherexample.org.<br /><br />Error type: Could not find a valid session key.
[code] =>
)
Sep 17 13:56:26 [info] $backTrace = #0 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(315): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(278): CRM_Core_Error::fatal("We can't load the requested web page. This page requires cookies to be enable...")
#2 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(186): CRM_Core_Controller->key("CRM_Mailing_Controller_Send", TRUE, FALSE)
#3 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm/CRM/Mailing/Controller/Send.php(41): CRM_Core_Controller->__construct("New Mailing", "null", NULL, FALSE, TRUE)
#4 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(287): CRM_Mailing_Controller_Send->__construct("New Mailing", TRUE, "null", NULL, "false")
#5 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(70): CRM_Core_Invoke::runItem((Array:14))
#6 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#7 /home/afaeus/public_html/wp-content/plugins/civicrm/civicrm.php(344): CRM_Core_Invoke::invoke((Array:3))
#8 [internal function](): civicrm_wp_invoke("")
#9 /home/afaeus/public_html/wp-includes/plugin.php(505): call_user_func_array("civicrm_wp_invoke", (Array:1))
#10 /home/afaeus/public_html/wp-admin/admin.php(212): do_action("toplevel_page_CiviCRM")
#11 {main}
It makes a big difference whether
nobody is getting emails, or
fewer people are getting emails.
If it's the latter, and they're not getting them in spam or anything else, you might try looking in your mail log. On a Debian/Ubuntu machine with Postfix, that's usually /var/log/mail.log. On other VPS/dedicated setups, it should be someplace similar. You might find that some servers are rejecting the messages.
You also should us a blacklist search to see if your server is being blacklisted someplace.
Finally, you should know that if your "from" address is a Yahoo or AOL address (or possibly another third-party service), you're likely to get rejected my many providers. They'll effectively say, "We know Yahoo's servers, and this is coming from someplace else--it must be a scam."
Now, on the other hand, if you have no email going out, the CiviCRM error is likely related. I don't know what could be causing that one, however.
The error suggests a few things, none of which would be related to deliverability of the emails.
People may be clicking on a link in an email or perhaps in a bookmark which includes a session key that is now expired. Search results, and multi-stage actions typically have in the url a key-value pair like qfKey=0fe0c51c4024538bb34d5c84305ffb8a_8786 that is a give-away that it cannot be shared, and will not work if you sign-out from the site.
As the error description indicates, you may have more than one domain configured for the site, and the session is not being carried from one to other. Check that your CiviCRM base_url is correct both in civicrm.settings.php and through the browser at the following urls:
See CiviCRM Menu: Administer >> System Settings >> Cleanup Caches and Update Paths
Drupal sites: http:///index.php?q=civicrm/admin/setting/updateConfigBackend&reset=1
Joomla 1.5 sites: http:///administrator/index2.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1
Joomla 1.6 sites: http:///administrator/index.php?option=com_civicrm&task=civicrm/admin/setting/updateConfigBackend&reset=1
Wordpress sites: http:///wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/setting/updateConfigBackend&reset=1
NB: Prior to 4.3.3 the WordPress implementation mistakenly drops everything after the domain in its suggestion for a new URL. The default location for a WordPress install relative to docroot would normally mean that the url should be http:///wp-content/plugins/civicrm/civicrm/

Unable to View Undelievered Mail in CF Administrator

When I go to the Mail option in CF10 and click the "View Undelivered Mail" button I am getting following errors:
Error retrieving markup for element mailBody : Client verification
failure. [Enable debugging by adding 'cfdebug' to your URL parameters
to see more information]
Error invoking CFC /CFIDE/administrator/mail/undeliveredmail.cfc :
Client verification failure. [Enable debugging by adding 'cfdebug' to
your URL parameters to see more information]
Does anyone have any idea why am I not able to see Undelivered mail?
Try deleting any ColdFusion related cookies in your browser, such as CFID, CFTOKEN, CFAUTHORIZATION_cfadmin and CFADMIN_LASTPAGE_ADMIN, and then restart your browser.
Look for an 0-byte file named something like "Mail4117192657238440155.cfmail" in your /Applications/ColdFusion10/cfusion/Mail/Undelivr folder and delete it. That fixed the problem for me.