Error Message:
Here are some information that might be useful.
WP version
5.2.5
Plugins Active
Akismet Anti-Spam - 4.1.3
BigCommerce for WordPress - 3.12.0
Breadcrumb - 1.5.3
Coming Soon Page, Under Construction & Maintenance Mode by SeedProd - 5.1.0
Contact Form 7 - 5.1.6
Google Maps Easy - 1.9.27
Insert Headers and Footers - 1.4.4
Insert PHP Code Snippet - 1.3.1
Jetpack by WordPress.com - 7.8.1
LiteSpeed Cache - 2.9.9.2
Notification - 6.3.0
SiteOrigin CSS - 1.2.4
Sticky Side Buttons - 1.0.9
UpdraftPlus - Backup/Restore - 1.16.20
Yoast SEO - 12.8.1
Server Environment
PHP Version
7.1.33
Max Execution Time
30
Memory Limit
256M
Upload Max Filesize
256M
Post Max Size
8M
WP debug
No
WP debug display
Yes
WP debug log
No
Mysql Version
5.5.61
Web Server
Apache/2.4.27 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4
ERROR LOG
[2020-01-17 03:22:27] BigCommerce.INFO: Starting import [] []
[2020-01-17 03:22:28] BigCommerce.INFO: Running import task {"state":"started","description":"Fetching store information"} []
[2020-01-17 03:22:28] BigCommerce.DEBUG: Requesting store settings [] []
[2020-01-17 03:22:30] BigCommerce.DEBUG: Retrieved store settings {"settings":{"bigcommerce_currency_code":"AUD","bigcommerce_currency_symbol":"$","bigcommerce_currency_symbol_position":"left","bigcommerce_decimal_units":2,"bigcommerce_integer_units":4,"bigcommerce_mass_unit":"kg","bigcommerce_length_unit":"cm","bigcommerce_wishlists_enabled":1,"bigcommerce_facebook_pixel_id":"","bigcommerce_google_analytics_id":""}} []
[2020-01-17 03:22:32] BigCommerce.INFO: Running import task {"state":"fetched_store","description":"Retrieving currency settings"} []
[2020-01-17 03:22:32] BigCommerce.DEBUG: Requesting currency settings [] []
[2020-01-17 03:22:35] BigCommerce.INFO: Running import task {"state":"fetched_currencies","description":"Removing Categories"} []
[2020-01-17 03:22:35] BigCommerce.DEBUG: Removing deleted terms for bigcommerce_category taxonomy {"page":1,"limit":50,"taxonomy":"bigcommerce_category"} []
[2020-01-17 03:22:50] BigCommerce.ERROR: API call to https://api.bigcommerce.com/stores/zby41x9gmk/v3/catalog/categories?id%3Ain=18%2C19%2C20%2C21%2C22%2C23%2C24%2C25%2C26%2C27%2C28%2C29%2C30%2C31%2C32%2C33%2C34%2C35%2C36%2C37%2C38%2C39%2C40%2C41%2C42%2C43%2C44%2C45%2C46%2C47%2C48%2C49%2C50%2C51%2C52%2C53%2C54%2C55%2C56%2C57%2C58%2C59%2C60%2C61%2C62%2C63%2C64%2C65%2C66%2C67&limit=50&include_fields=id failed: Connection timed out after 15001 milliseconds {"response":null,"headers":null} []
[2020-01-17 03:22:50] BigCommerce.DEBUG: #0 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Api/Caching_Client.php(57): BigCommerce\Api\v3\ApiClient->callApi('/catalog/catego...', 'GET', Array, '', Array, '\\BigCommerce\\Ap...', '/catalog/catego...') #1 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/vendor/moderntribe/bigcommerce-api-php-v3/src/Api/CatalogApi.php(6469): BigCommerce\Api\Caching_Client->callApi('/catalog/catego...', 'GET', Array, '', Array, '\\BigCommerce\\Ap...', '/catalog/catego...') #2 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/vendor/moderntribe/bigcommerce-api-php-v3/src/Api/CatalogApi.php(6415): BigCommerce\Api\v3\Api\CatalogApi->getCategoriesWithHttpInfo(Array) #3 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Processors/Category_Purge.php(30): BigCommerce\Api\v3\Api\CatalogApi->getCategories(Array) #4 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Processors/Term_Purge.php(74): BigCommerce\Import\Processors\Category_Purge->get_remote_term_ids(Array) #5 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(211): BigCommerce\Import\Processors\Term_Purge->run() #6 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Task_Manager.php(94): BigCommerce\Container\Import->BigCommerce\Container\{closure}('fetched_currenc...') #7 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(280): BigCommerce\Import\Task_Manager->run_next('fetched_currenc...') #8 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(286): BigCommerce\Container\Import->BigCommerce\Container\{closure}('fetched_currenc...') #9 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #10 /home/piranhaoffroadco/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #11 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Runner/Cron_Runner.php(51): do_action('bigcommerce/imp...', 'fetched_currenc...') #12 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(104): BigCommerce\Import\Runner\Cron_Runner->continue_import() #13 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(284): BigCommerce\Container\Import->BigCommerce\Container\{closure}() #14 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #15 /home/piranhaoffroadco/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #16 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Import/Runner/Cron_Runner.php(73): do_action('bigcommerce_con...') #17 /home/piranhaoffroadco/public_html/wp-content/plugins/bigcommerce/src/BigCommerce/Container/Import.php(108): BigCommerce\Import\Runner\Cron_Runner->ajax_continue_import() #18 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(284): BigCommerce\Container\Import->BigCommerce\Container\{closure}() #19 /home/piranhaoffroadco/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #20 /home/piranhaoffroadco/public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #21 /home/piranhaoffroadco/public_html/wp-admin/admin-ajax.php(173): do_action('wp_ajax_bigcomm...') #22 {main} [] []
Thanks for sharing these logs! To better understand your BC4WP setup I have some follow up questions:
Was the plugin working before and recently stopped working? If so, have there been any updates to other plugins or the theme you're using? If you could share your WordPress site and BigCommerce store URLs, that can also help narrow down what's causing an issue :)
Related
My C++ application running on Ubuntu 14.04 is having problems. I am using grpc to communicate with a go webserver application which is servering up webpages with status/configuration of the c++ application.
I have been using 1 year old version of grpc 0.14 something so before posting here, I upgraded everything (grpc 1.3.1, go version 1.8.1).
It seems my c++ application is crashing quite often with the 1.3.1(and with 1.0.0, 1.2.5, 1.2.0, etc...) grpc version.
I am getting a sigabort with a double free warning. The application will run for awhile but after a period of time in which the web application is requesting data from the c++ application, it will crash: gdb output:
[New LWP 9908]
[New LWP 9881]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./bhio'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _int_malloc (av=0x7fb3ac000020, bytes=16) at malloc.c:3351
3351 malloc.c: No such file or directory.
(gdb) where
#0 _int_malloc (av=0x7fb3ac000020, bytes=16) at malloc.c:3351
#1 0x00007fb4205db6c0 in __GI___libc_malloc (bytes=16) at malloc.c:2891
#2 0x000000000076bb2f in gpr_malloc ()
#3 0x000000000077678d in grpc_error_create ()
#4 0x000000000078ba94 in ?? ()
#5 0x000000000078dbee in grpc_chttp2_fail_pending_writes ()
#6 0x000000000078e19f in grpc_chttp2_mark_stream_closed ()
#7 0x000000000078e2eb in grpc_chttp2_cancel_stream ()
#8 0x000000000078ef1c in ?? ()
#9 0x000000000077597e in grpc_combiner_continue_exec_ctx ()
#10 0x0000000000777678 in grpc_exec_ctx_flush ()
#11 0x000000000078095f in grpc_call_cancel_with_status ()
#12 0x0000000000780be1 in grpc_call_destroy ()
#13 0x0000000000769bd7 in grpc::ServerContext::~ServerContext() ()
#14 0x0000000000768c7c in grpc::Server::SyncRequest::CallData::~CallData() ()
#15 0x00000000007691e3 in
grpc::Server::SyncRequestThreadManager::DoWork(void*, bool) ()
#16 0x000000000076aff1 in grpc::ThreadManager::MainWorkLoop() ()
#17 0x000000000076b04c in grpc::ThreadManager::WorkerThread::Run() ()
#18 0x00007fb420eebbf0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007fb421146184 in start_thread (arg=0x7fb3ca686700)
at pthread_create.c:312
#20 0x00007fb42065337d in clone ()
---Type <return> to continue, or q <return> to quit---
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
(gdb)
(gdb) quit
or here:
[Thread 0x7fff7d7fa700 (LWP 3521) exited]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff7e7fc700 (LWP 3524)]
__GI___libc_free (mem=0xb5) at malloc.c:2929
2929 malloc.c: No such file or directory.
(gdb)
(gdb) where
#0 __GI___libc_free (mem=0xb5) at malloc.c:2929
#1 0x000000000077b7b5 in grpc_byte_buffer_destroy ()
#2 0x0000000000773ac3 in grpc::Server::SyncRequest::CallData::~CallData() ()
#3 0x000000000077405a in grpc::Server::SyncRequestThreadManager::DoWork(void*, bool) ()
#4 0x0000000000776111 in grpc::ThreadManager::MainWorkLoop() ()
#5 0x000000000077616c in grpc::ThreadManager::WorkerThread::Run() ()
#6 0x00007ffff6c9fbf0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff6efa184 in start_thread (arg=0x7fff7e7fc700)
at pthread_create.c:312
#8 0x00007ffff640737d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
So if it is ok to start multiple serverbuilder s , what else could the above error point to that I could possibly be doing wrong in using the grpc library.. I am taking this code over for someone else who wrote it, so my knowledge is lacking in the use of grpc... I don't think grpc is that unstable, so it must be something I am doing by using it incorrectly.
any ideas would be helpful..
any suggestions to debug it better would be helpful.
for grpc building, I am just doing the following:
$ git clone -b $(curl -L http://grpc.io/release) https://github.com/grpc/grpc
$ cd grpc
$ git submodule update --init
$ make
$ [sudo] make install
Is there options to compile differently which might provide more information?
thanks in advance for the help/suggestions.
Bob
It turns out, a small memory leak (missing close of a socket file descriptor) in the registered service function was causing the issue.
I'm trying to recover my admin password in Drupal with Drush. I've installed Drush successfully, but every time I run drush uli as well as similar commands I get this error:
Drupal\Core\Database\ConnectionNotDefinedException: The specified database connection is not defined: default in [error]
/Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Core/Database/Database.php:361
Stack trace:
#0 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Core/Database/Database.php(166):
Drupal\Core\Database\Database::openConnection('default', 'default')
#1 [internal function]: Drupal\Core\Database\Database::getConnection('default')
#2 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(254): call_user_func_array(Array,
Array)
#3 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(177):
Drupal\Component\DependencyInjection\Container->createService(Array, 'database')
#4 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(494):
Drupal\Component\DependencyInjection\Container->get('database', 1)
#5 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(236):
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)
#6 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(177):
Drupal\Component\DependencyInjection\Container->createService(Array, 'cache.backend.d...')
#7 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Core/Cache/ChainedFastBackendFactory.php(85):
Drupal\Component\DependencyInjection\Container->get('cache.backend.d...')
#8 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Core/Cache/CacheFactory.php(79):
Drupal\Core\Cache\ChainedFastBackendFactory->get('bootstrap')
#9 [internal function]: Drupal\Core\Cache\CacheFactory->get('bootstrap')
#10 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(254): call_user_func_array(Array,
Array)
#11 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(177):
Drupal\Component\DependencyInjection\Container->createService(Array, 'cache.bootstrap')
#12 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(494):
Drupal\Component\DependencyInjection\Container->get('cache.bootstrap', 1)
#13 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(236):
Drupal\Component\DependencyInjection\Container->resolveServicesAndParameters(Array)
#14 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Component/DependencyInjection/Container.php(177):
Drupal\Component\DependencyInjection\Container->createService(Array, 'module_handler')
#15 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Core/DrupalKernel.php(520):
Drupal\Component\DependencyInjection\Container->get('module_handler')
#16 /Users/myusername/.kalabox/apps/canchascrd8/code/core/lib/Drupal/Core/DrupalKernel.php(678):
Drupal\Core\DrupalKernel->preHandle(Object(Symfony\Component\HttpFoundation\Request))
#17 /usr/local/Cellar/drush/8.1.3/libexec/lib/Drush/Boot/DrupalBoot8.php(150):
Drupal\Core\DrupalKernel->prepareLegacyRequest(Object(Symfony\Component\HttpFoundation\Request))
#18 /usr/local/Cellar/drush/8.1.3/libexec/includes/bootstrap.inc(354): Drush\Boot\DrupalBoot8->bootstrap_drupal_full()
#19 /usr/local/Cellar/drush/8.1.3/libexec/commands/user/user.drush.inc(389): drush_bootstrap(5)
#20 /usr/local/Cellar/drush/8.1.3/libexec/includes/command.inc(373): drush_user_login()
#21 /usr/local/Cellar/drush/8.1.3/libexec/includes/command.inc(224): _drush_invoke_hooks(Array, Array)
#22 /usr/local/Cellar/drush/8.1.3/libexec/includes/command.inc(192): drush_command()
#23 /usr/local/Cellar/drush/8.1.3/libexec/lib/Drush/Boot/BaseBoot.php(67): drush_dispatch(Array)
#24 /usr/local/Cellar/drush/8.1.3/libexec/includes/preflight.inc(66): Drush\Boot\BaseBoot->bootstrap_and_dispatch()
#25 /usr/local/Cellar/drush/8.1.3/libexec/drush.php(12): drush_main()
I'm using Kalabox, and brand new to Drupal. Does anyone have any ideas?
If you are using Kalabox you need to use kbox drush uli (not drush uli) from somewhere inside of your apps folder.
You also are going to want to ensure
Your app is actually on
You have actually set up the Drupal site (aka created the database)
You have not edited pantheon.settings.php to remove the logic that grabs your database connection info from the PRESSFLOW_SETTINGS envvar.
Might be worth either destroying and recreating the site in Kalabox or spinning up another site in Pantheon and pulling that down to troubleshoot.
We are trying to deploy a symfony2 Web App in a shared hosting service offered by the University. The server has php 5.3. and we can only access it via FTP.
When I go to .../web/app.php I got an "503 Service Unavailable" message. When looking at the errors.log file I found:
GMT or UTC is not supported as a formatting output. Please install the "intl" extension for full localization capabilities.' in /var/www/vhosts/transmediacatalonia.uab.cat/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Intl/DateFormatter/DateFormat/TimeZoneTransformer.php:35
mod_fcgid: stderr: Stack trace:
mod_fcgid: stderr: #0 /var/www/.../DateFormat/FullTransformer.php(123): Symfony\\Component\\Intl\\DateFormatter\\DateFormat
\\TimeZoneTransformer->format(Object(DateTime), 1)
mod_fcgid: stderr: #1 /var/www/.../FullTransformer.php(96): Symfony\\Component\\Intl\\DateFormatter\\DateFormat\\FullTransformer->formatReplace('z', Object(DateTime))
mod_fcgid: stderr: #2 [internal function]: Symfony\\Component\\Intl\\DateFormatter\\DateFormat\\{closure}(Array)
mod_fcgid: stderr: #3 /var/ww in /var/www/.../Template.php on line 396
I understand the intnextension is required. The problem is that we have no way to install anything in the server.
Is there any way to solve this problem??
Thanks a lot in advance!!
I currently using ejabberd_http_auth mod to authenticate a user by external http api. However after I set up the following configuration in ejabberd.yml. I got Unknown option 'auth_opts' error.
I have already installed that plugin in ejabberd using command prompt and I have disable register mod.
Configuration:
auth_method: http
auth_opts:
host: "http://localhost:8080"
connection_pool_size: 10
connection_opts: []
basic_auth: ""
path_prefix: "/test/auth/"
Error Message:
2015-12-15 00:16:16.268 [error] <0.37.0>#ejabberd_config:validate_opts:794 unknown option 'auth_opts' will be likely ignored
2015-12-15 00:16:16.366 [info] <0.37.0>#cyrsasl_digest:start:60 FQDN used to check DIGEST-MD5 SASL authentication: MY_SERVER
2015-12-15 00:16:16.367 [info] <0.37.0>#ejabberd_app:add_windows_nameservers:195 Adding machine's DNS IPs to Erlang system:
[]
2015-12-15 00:16:16.373 [error] <0.36.0> CRASH REPORT Process <0.36.0> with 0 neighbours exited with reason: call to undefined function ejabberd_auth_http:start(<<"localhost">>) in application_master:init/4 line 133
2015-12-15 00:16:16.373 [info] <0.7.0> Application ejabberd exited with reason: call to undefined function ejabberd_auth_http:start(<<"localhost">>)
Thanks a lot.
The unknown option is not the problem here.
The problem is on that line:
2015-12-15 00:16:16.373 [info] <0.7.0> Application ejabberd exited with reason: call to undefined function ejabberd_auth_http:start(<<"localhost">>)
It means ejabberd_auth_http.beam is not in your Erlang path. It means it is either not installed or placed outside Erlang VM path.
I was trying to start Phabricator's Notification Server, but experienced the following error:
/phabricator/phabricator/bin/aphlict start
[2015-11-16 18:41:08] EXCEPTION: (FilesystemException) Requested path '/var/tmp/aphlict/pid' is not writable. at [<phutil>/src/filesystem/Filesystem.php:1081]
arcanist(head=master, ref.master=9dd6eafb5254), phabricator(head=master, ref.master=50d158a8c4d9), phutil(head=master, ref.master=e9ed72483a14)
#0 Filesystem::assertWritable(string) called at [<phutil>/src/filesystem/Filesystem.php:73]
#1 Filesystem::assertWritableFile(string) called at [<phutil>/src/filesystem/Filesystem.php:89]
#2 Filesystem::writeFile(string, string) called at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php:140]
#3 PhabricatorAphlictManagementWorkflow::willLaunch() called at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php:249]
#4 PhabricatorAphlictManagementWorkflow::executeStartCommand() called at [<phabricator>/src/applications/aphlict/management/PhabricatorAphlictManagementStartWorkflow.php:15]
#5 PhabricatorAphlictManagementStartWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
#6 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
#7 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/support/aphlict/server/aphlict_launcher.php:23]
The directory in question seems to be writable:
ls -l /var/tmp/aphlict
total 4
drwxr-xr-x 2 root root 4096 Nov 16 13:40 pid
If it matters, I'm running all operations as non-'root' on Ubuntu 14.04 LTS system.
I have just figured out this. As I said in the recent update, I was trying to start notification server as non-'root'. Looking again at permissions of the /var/tmp/aphlict/pid folder, the problem suddenly became crystal clear and trivial.
ls -l /var/tmp/aphlict
total 4
drwxr-xr-x 2 root root 4096 Nov 16 13:40 pid
Therefore, all that needed to be done to fix the problem is to make the directory writable for everyone (I hope that this approach does not create a potential security issue):
chmod go+w /var/tmp/aphlict/pid
su MY_NON_ROOT_USER_NAME -c './bin/aphlict start'
Aphlict Server started.
Problem solved. By the way, for the Notification Server to work properly, do I need to open port 22281, in addition to already opened 22280? (Please answer in comments. Thank you!)