Project:Plugin Manager
Version:6.x-1.10
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

Every time I upgrade a module or install a new theme or module I get this message:

warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/MYWEBPAGE/public_html/includes/database.mysql.inc on line 321.

if I install more than one module I get the message as many times as modules or themes I install.

Other than that, the modules or themes seem to be installed properly and the message stating so is presented with the above.

Thanks in advance for your help.

Comments

#1

Category:support request» bug report
Status:active» postponed (maintainer needs more info)

Does this happen on any other page of your site(s)?

#2

Hi Joshua,

No, it does not happen with other pages (unless I have not seeing it yet).

Only with plugin manager after installing or updating modules or themes.

#3

Status:postponed (maintainer needs more info)» active

I installed the newest version and I still get this message (recently it was with a theme update).

I am changing the status to only "active".

#4

Does it appear all the way through the install process? Which pages of the plugin manager does it show up on and which does it not appear on?

#5

No, only in one page: The one after installing by ftp and the password (the outcome).

If there are more than one update or module installation it outcomes the error as many times as updates or new modules are installed.

Example:

Install

  • A drupal install was automatically located on ftp at public_html/sites/all/modules.
  • Successfully installed barcode.View README.txt

warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/autismoa/public_html/includes/database.mysql.inc on line 321.

Note: the more items you select, the longer the installation will take, potentially causing it to time out.

Now you're done. Unless it is stated otherwise above, your modules and/or themes should be properly installed now. So what should you do now?

If you installed new modules, you can enable them here.

If you installed new themes, you can select them here.

#6

Status:active» postponed (maintainer needs more info)

Are you still having this problem on the latest version of plugin manager (6.x-1.9)?

#7

Hi Dave,

yes I do still get that message every time I do the procedure.

Thanks.

#8

Still getting the same message.
I cannot replicate this issue in other drupal installations.

#9

I do not know how but the message dissapeared.

Currently I have a new one very similar stating:

warning: preg_match() expects parameter 2 to be string, array given in /home2/MY_WEB/public_html/includes/bootstrap.inc on line 777.

#10

I'm getting the same message, only AFTER installing via ftp.

It should be noted that installations are successful.

#11

I am getting this message with Plugin Manager 1.10 when using the same process. I provide FTP login credentials and Continue to step 2 and I see a white screen with:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/www/public_html/includes/module.inc on line 449

If I refresh I will see a message with some plugins installed successfully but even if they are installed they do not clear from the list so my list just get's larger everytime I try to update. Anyway to manually clear the modules to install?

#12

Problem Solved! Uninstalled Plugin Manager and are now manually updating our modules!

Thanks for all the help developer, this works great!

#13

Hmm... Nice sarcasm. It in no way gives me enough information to help you, but it was still amusing.

I do not have this issue on my test setup. I have not been able to produce this issue. Without a list of steps telling me how to reproduce the error, I will never have enough information to be able to fix it.

I really would love to fix this issue. Without more information though, I'm afraid that this is not possible.

Thanks tiato! ;)

#14

To be honest I think maybe there was an initial timeout that caused the install queue to "stick" - for lack of a better term. More updates just increased the list instead of decreased. Where is the install queue stored on the DB? I can provide the table view for you to see if there's any irregularities or if there's a manual way to clear the install queue without breaking the plugin manager I can see if the issue disappears when the install queue is cleared.

As to steps I simply try and update via FTP, I provide my credentials and go to Next Step. After a couple seconds I see this error. It is worth noting however that some of the modules are successfully update but the number seems to vary between 5 - 8 modules.

I am not trying to update that many modules, but it keeps trying to install the "stuck" modules from the install queue, even if successful.

Glad you enjoyed the humor but I am willing to debug for you to see if I can help you replicate or isolate the issue. Let me know what you need I'm very comfortable with Drupal. :)

#15

I am getting the same error each time I install one or several modules. What do you want me to do to help debug?

#16

The more information that you could provide, the better. What other modules are you running? Is there any way to consistently reproduce it on other installations? Is that the extent of the error message?

#17

Thanks for the prompt response. I am running a pretty standard (but increasing ) set of modules. This is my only installation, but it is hapening 100% of the time. Yes, that is the only error message and the installation of new or updated modules seem to work.

#18

Status:postponed (maintainer needs more info)» active

Any progress on this? I am still getting the same errors on every module update or upload.
Thanks

#19

Version:6.x-1.7» 6.x-1.10
Component:Miscellaneous» Code
Priority:normal» critical

Still getting many errors when using this module.

#20

Also getting same errors. Wish I could pinpoint what module I installed when this first happened. Error happens on every install/update now although modules install successfully.

nobody click here