Not able to load Drupal site - drupal-7

I have downloaded a new theme from Themeforest however when loading the site I m getting the below error.
Even developer is confused about the error.
I believe its more of drupal issue can anyone help?
Fatal error: require_once(): Failed opening required 'C:\wamp\www\sites\all\modules\media\file_entity/file_entity.file_api.inc' (include_path='.;c:\wamp\bin\php\php5.4.12\pear') in C:\wamp\www\sites\all\modules\media\file_entity\file_entity.module on line 13

Can you try using relative path like
require_once("./file_entity.file_api.inc");
Before that you need to find out the getcwd() for getting the current working directory.'
then give relative path according to that.
OR
use below,
require_once(DRUPAL_ROOT . '/sites/all/modules/media/file_entity/file_entity.file_api.inc');

Related

Hugo command hugo server -D issue

Please someone help me i don't understand the problem here.I'm new to hugo and this error just keeps on appearing when I try to create markdown file.The error I'm getting
Without having a link to the source code of the theme you're using, it's hard to tell. However, I found giraffeacademy/ga-hugo-theme, which looks to be the same as what you're using (the line numbers seem to match).
It looks like the theme is outdated. It uses .URL in the list page template to try and link to the post that it's listing, but that isn't valid on the latest version of Hugo.
Changing {{.URL}} on line 14 in theme/ga-hugo-theme-master/layouts/_default/list.html to {{.Permalink}} should fix the issue.

Getting Errors Trying to Load SqlServerSpatial140.dll

I am using SqlGeography in a project that was working but now is not. The only thing that has changed that I can think of is that Windows 10 did an update to my PC but I am unsure that that is the source of the problem.
I used NuGet to remove and then re-add the reference to SqlServer140.dll and got this message:
Errors were detected when processing \packages\microsoft.sqlserver.types. 14.0.1016.290\nativebinaries\x64\SQLSERVERPARTIAL140.dll. Please make sure that the file eis accesible, and that it is a valid assembly or COM component.
I used this SO thread to work on this problem. I downloaded Dependency Walker and ran it against SqlServerSpastial140.dll and got this error message:
Errors were detected when processing that . See the log window for details.
Unfortunately, the help file for Dependency Walker is not included in the download (I downloaded both form its home page and also a link at Microsoft - the help was missing from both) so I do not know how to read the result. Here is an image of the result:
Assuming the "log window" is the one at the very bottom, it is not helpful. What do I have to do to restore the SqlGeography functionality. I've also tried other suggestions from the link mentioned above but nothing has worked.
What worked for me was to go to this file location below and copy the SqlServerSpatial140.dll to my project bin folder.
C:\Users<user>.nuget\packages\microsoft.sqlserver.types\14.0.1016.290\nativeBinaries\x64

Permanently resolve Unable to watch for file changes in this large workspace

To resolve this issue I got there to the link provided by vscode
https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
Ok, this, corrects the error, But when I restart the Linux and again open my React project,
I get the Same error.
max_user_watches file again gets the value of 8192 as no. of max files.
My react server is not starting due to this issue.
Then I again follow the same step of the link provided, this sometimes gets frustrating.
Any permanent Help I could get from you.
A workaround:
Just disable this built-in extension: TypeScript and JavaScript Language Features

Error running the app after updating to Android Studio 3.4.1

After updating to Android Studio 3.4.1, I was checking my app and came to understand that there is no error while debugging/building the app, but there is an error while running the app.
Ends up with an error something like below
error: duplicate value for resource 'attr/pivotX' with config ''.
error: resource previously defined here.
app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml: error: file failed to compile.
Guys I got the answer for the question...
Its in your .gradle file where you need to change the attribute name of the pivotX (attribute name shown in the error).
Location : C:\Users\.gradle\caches\transforms-1\files-1.1\constraint-layout-2.0.0-beta1.aar\85a709bd4659f28dc59c0ee0faf968d5\res\values\values.xml
check for the line number in the error and in the same line check for the attribute name and change it to other name and save.
This solved my issue.

Wrong kohana3 error when i have syntax error

Everytime when i have syntax error, kohana show this:
HTTP_Exception_404 [ 404 ]: Unable to find a route to match the URI
Why? Before i see my syntax error...
My route is fine, whats happening is that every time there is some sort of syntax error , instead of showing the error stack it's telling me that it can't find the route. I think with the older versions of Kohana I was able to see that
I guess it's pretty normal that you don't see a syntax error, because kohana don't know where to start your application.
Go to your bootstrap file in the application folder and fix that specific route.

Resources