i am using WAMP 2.1 with
Apache Version : 2.2.17
PHP Version : 5.3.3
MySQL Version : 5.5.8
By default WAMP loads these extensions
Core, bcmath, calendar, com_dotnet, ctype, date, ereg, filter, tp, hash, iconv, json, mcrypt, session, odbc, pcre, Reflection, standard, SPL, mysqlnd, tokenizer, zip, zlib, libxml, dom, PDO, Phar, SimpleXML, wddx, xml, xmlreader, xmlwriter, apache2handler, gd, mbstring, mysql, mysqli, mhash
i really dont need all these !
so i opened PHP.INI and put a ; before those lines which i dont want, so now it looks like
;extension=php_zip.dll but WAMP still shows ZIP extensions as loaded !
what is wrong ?
i restarted WAMP but with no effect !
To be able to change extension loading settings, you MUST run WampServer as administrator. (Right Click WampServer shortcut -> Run As Administrator). This should work now.
Click the Wamp icon in the system tray, then click PHP > PHP Extensions and try checking/unchecking the items there. This should work. <-- Checking/unchecking these items is the same as editing php.ini
Related
Clicking on Hide on the Django debug toolbar (version 1.10.1) does not work on my Google Chrome (Version 69.0.3497.100). I'm using Django 1.11.15 and I can confirm that the Hide does indeed work on Firefox.
The following is output by the console:
Uncaught ReferenceError: djdt is not defined at toolbar.js:305
Line 305 being:
})(djdt.jQuery, djdt);
Anyone have suggestions on how to fix this or provide a possible workaround?
The toolbar.js file does not contain })(djdt.jQuery, djdt); in version 1.10.1. It sounds like your browser may have cached an old version of toolbar.js.
You may have to run collectstatic To update your static files with the new version.
I've been asked to evaluate Robotframework and happy with what I've seen for the most part. For it to be a viable option for me however, I need it to work in Firefox.
Marionette capabilities were a problem in my Ruby/Capybara environment, and I was able to shut it off.
Capybara.register_driver :selenium do |app|
Capybara::Selenium::Driver.new(app, :browser => :firefox, desired_capabilities: Selenium::WebDriver::Remote::Capabilities.firefox(marionette: false))
end
Getting the same thing in Robot / Python 2.7 / ff44.0 has generated an error in either direction.
When marionette is on:
${dc} Evaluate sys.modules['selenium.webdriver'].DesiredCapabilities.FIREFOX sys, selenium.webdriver
Set To Dictionary ${dc} marionette=${True}
Open Browser ${url_bck_auto} Firefox desired_capabilities=${dc}
I get this:
Our products rock | FAIL |
WebDriverException: Message: Unsupported Marionette protocol version
2, required 3
If I turn it off, gecko bumps me to ff51.0.1(32-bit) and I get a different message:
Our products rock | FAIL |
WebDriverException: Message: Can't load the profile. Possible firefox
version mismatch. You must use GeckoDriver instead for Firefox 48+.
Profile Dir: c:\users\blah\appdata\local\temp\tmpqzlxha\webdriver-
py-profilecopy If you specified a log_file in the FirefoxBinary
constructor, check it for details.
Geckodriver is version 0.15.0
Any help will be appreciated, thanks!
On Windows 10 I'm running Robot Framework 3.0, Selenium2Library 1.8.0, Selenium 3.0.2 and when I start your example, or the simplified single open browser http://google.com I get the same result when using Gecko 0.15.0. The browser starts but does not move to the desired page. The driver closes successfully but the browser stays open.
When using the same setup, but downgrading Geckodriver to 0.14.0 the results change, and the browser behaves as expected. Loads the page and closes when Close Browser keyword is called.
So, I recommend downgrading to Geckodriver 0.14.0.
I'm trying to deploy 'limesurvey' application into the PCF & I get the following error.
php pdo driver library none found
Below are the pre-requisites that should be met for installation.
• mbstring (Multibyte String Functions) extension library
•PDO database driver for MySQL (pdo_mysql or pdo_mysqli) or Postgres (pdo_pgsql) or MSSQL (pdo_sqlsrv for Windows and pdo_dblib for Linux)
•Also we assume in general that all PHP default libraries are enabled (like hash, session, etc.).
Is there any workaround for this ? Because, few sites says to modify the php.ini file, which I don't have access to. If the suggestion is to have my own buildpack, is there any link that I can refer to do that please.
Appreciate any help :)
Assuming the limesurvey application is using php-buildpack, you can tell the buildpack to load the mbstring and pdo_* modules by creating an options.json file in the .bp-config subfolder, if it doesn't already exist, adding a PHP_EXTENSIONS key, and including the name or names of the modules/extensions that are required in the value.
Something like this:
$ cat .bp-options/options.json
{
"PHP_VERSION": "{PHP_56_LATEST}",
"PHP_MODULES": ["cli"],
"PHP_EXTENSIONS": ["mysqli", "pdo_mysql", "mbstring"],
"ADDITIONAL_PREPROCESS_CMDS": [""]
}
Even though the php-buildpack calls mbstring and pdo_mysql 'modules' you want to list them in the PHP_EXTENSIONS key, not the PHP_MODULES key.
I installed php7.0.15/apache2.4.25/phpMyAdmin 4.6.5.2 via xampp, but it turns out that the extensions xsl and intl are missing (need them to run Magento2).
I'm using Windows 8.1.
Both files php_xsl.dll and php_intl.dll exist in xampp/php/ext and I tried deleting the related ";" from extension=.. from in php.ini,
re-saving the php.ini and restarting apache server;
also copied in apache/bin folder the icu*.dll files from php;
BUT no success with that: still missing with magento2 Readiness Check.
Have any advise?
I have two suggestions for you---
No.1
Are you restarting the apache as administrator as I forget to do that most of the time.
No.2
Check your environment variable path. Did you set it properly.
Hope this can help!
I did my first development in a Win7 machine, then switched to a Mac when I got that, which was great due to the speed of building with ember server running. I've been keeping everything in a Git repo. Everything works fine running ember server from my Mac.
Now, when I do a fresh clone from the repo on my Win7 computer, then do npm install and bower install (both of which complete fine), when I run ember server next, I get a bunch of errors saying ENOTEMPTY, directory not empty (path, blah blah blah).
It's complaining about some folder in the tmp directory, which the server command is creating and putting stuff into all by itself, so I don't know what it's complaining about.
I've been finagling with this about 5 different times now, but without success.
Ember CLI version is 0.1.1
Ember version is 1.6
Here's an example of one of the errors, but they're all similar (and similarly unhelpful):
ENOTEMPTY, directory not empty 'c:\Dev\star\tmp\remover-tmp_dest_dir-sRc08q1q.tm
p\templates'
Error: ENOTEMPTY, directory not empty 'c:\Dev\star\tmp\remover-tmp_dest_dir-sRc0
8q1q.tmp\templates'
at Object.fs.rmdirSync (fs.js:623:18)
at rmkidsSync (c:\Dev\star\node_modules\ember-cli\node_modules\rimraf\rimraf
.js:247:11)
at rmdirSync (c:\Dev\star\node_modules\ember-cli\node_modules\rimraf\rimraf.
js:237:7)
at fixWinEPERMSync (c:\Dev\star\node_modules\ember-cli\node_modules\rimraf\r
imraf.js:150:5)
at Function.rimrafSync [as sync] (c:\Dev\star\node_modules\ember-cli\node_mo
dules\rimraf\rimraf.js:216:26)
at Remover._remove (c:\Dev\star\node_modules\ember-cli\node_modules\broccoli
-file-remover\index.js:46:10)
at c:\Dev\star\node_modules\ember-cli\node_modules\broccoli-file-remover\ind
ex.js:60:14
at Array.forEach (native)
at c:\Dev\star\node_modules\ember-cli\node_modules\broccoli-file-remover\ind
ex.js:59:12
at $$$internal$$tryCatch (c:\Dev\star\node_modules\ember-cli\node_modules\rs
vp\dist\rsvp.js:470:16)
file added bootstrap.min.js
file added favicon.ico
file added sb-admin-2.js
Okay, I managed to do something that worked. I had forgotten I needed to disable Windows Indexing on my tmp folder at least (I did it for the whole cloned project):
Windows Key, type "Indexing Options"
Click the drive, then Modify
Uncheck places you don't want indexed (like the tmp folder)
If you use Sublime, go to Perferences --> Settings - User and add the following:
"folder_exclude_patterns":
[
"tmp/*",
],
Finally, I just had to keep doing ember server, stopping it, and doing it again until it build successfully (took around 5 tries).