Questions tagged [7]
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
26,469 questions
0
votes
0
answers
58
views
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax
I copied my site (D7) to a new domain to carry out the updates in peace, and the content and forms are working fine.
I made a copy of the database and the folder www.mydomaine.it and placed them on a ...
1
vote
1
answer
98
views
Warning: PDO::__construct(): Server sent charset (255) unknown to the client
I recently transfered a Drupal 7 websites from one server using mySQL 5/PHP 5.6 to one using mySQL 8/PHP 5.6 (using WHM's Transfer tool).
Afterwards, I got this error:
Warning: PDO::__construct(): ...
0
votes
0
answers
30
views
Profile reuse and ownership: Comparing billing profiles
If I understand correctly, in Drupal 10 in Orders, profiles with a profile type of “Billing information” belong to an anonymous user, because if they belonged to the user who creates the Order, then ...
0
votes
1
answer
184
views
Lockwait timeout exceeded on drupal-commerce
There's something totally crazy going on here and i can't even diagnose the issue.
the error:
PDOException: SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transaction: ...
0
votes
1
answer
105
views
Uploading managed_file from custom form always inserts file as temporary://. How to move to private://?
While trying to create a custom form (using form api) in Drupal 7, I wanted the user to be able to upload a file.
In my hook_formname_submit() function, I was saving the file, but in my database it ...
0
votes
0
answers
48
views
Is there a method to get a view to provide multiple tags in a CSV export within one column rather than mulitple rows?
I have a D7 site that is being recreated. I need to generate a CSV of particular fields used in its numerous content types.
There are 5 taxonomy reference fields. I have created a relationship for ...
0
votes
1
answer
280
views
Undefined index: php in system_requirements()
Whenever updating modules on an existing Drupal 7 site, I got lots of these error messages
Undefined index: php in system_requirements() (line 471 of xxxx/modules/system/system.install)
The code at ...
0
votes
2
answers
889
views
"Declaration of Monolog\Logger::emergency() must be compatible with Psr\Log\LoggerInterface::emergency()"
I'm using PHP 8.1.2-1ubuntu2.14, Drush 8.4.12 (latest), and Drupal 7.98 (not yet updated).
I'm having a problem with a Drush command which uses Google APIs, Google Auth, and Google services. I get the ...
1
vote
1
answer
136
views
How can I get the token value added at end of css and js files?
As you know in drupal 7 css and js files added to the rendered page.
at end of href or src values you see a token.
for example
<link type="text/css" rel="stylesheet" href="/...
0
votes
1
answer
103
views
How can I export all webform structures?
How can I export forms generated from a Drupal 7 site using webform?
The data is meant to be used to recreate a form generator tool by another team (who is not necessarily using Drupal).
1
vote
2
answers
97
views
Permissions to edit user field data, but not fields itself
How to allow a role to edit/manage user accounts e.g. click Edit and change email, username, password etc., but do not edit the fields itself, e.g. cannot just go to Manage fields and delete/create/...
0
votes
0
answers
76
views
Title length error
We just started receiving the following error when attempting to add a new content item: "Title cannot be longer than 70 characters but is currently 79 characters long." This happens ...
1
vote
0
answers
725
views
Why is CloudFlare blocking file uploads?
I have a simple form where people raise IT helpdesk requests (oh, the irony...) and this creates a case in CiviCRM. It's an unsophisticted but cheap helpdesk system for the few requests we get.
A ...
0
votes
0
answers
82
views
View breaks the page output
Has anyone encountered this problem or can at least help me debug it?
The views is displayed as standard if the parameters are specified.
Format:Unformatted list | Settings
Show:Field
If I change it ...
-1
votes
1
answer
71
views
Access arguments only allow administer and user logged in
I am building a module and used the following code to define a route for a user account.
How do I set the access arguments to only allow administrators and the user himself?
$items['user/%/extra-...