MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Taposh

Pages: [1]
1
You can enable the extended logs or log selector in exim on your cPanel server using below steps.

1. Log into you WHM panel using root login

2. Under Service Configuration in the left side of the panel go to Exim Configuration Manager.

3. Click on Advanced Editor

4. Search for log_selector and add below code in the box and save.


+address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface +incoming_port +lost_incoming_connection +queue_run +received_recipients +received_sender +retry_defer +sender_on_delivery +size_reject +skip_delivery +smtp_confirmation +smtp_connection +smtp_protocol_error +smtp_syntax_error +subject +tls_cipher +tls_peerdn

Once you save this code, the log selector is enabled on the server.

Once the log selector is enabled, you can get the logs for the emails and can find the scripts or email account which is spamming on the server.



2
Question: How to resolve error (Title : An unexpected error occurred.) while updating WordPress theme/plugin?



Error: An unexpected error occurred. Something may be wrong with WordPress.org or this serverís configuration.



Solution: If you have been facing this error when you try to update your wordpress theme or plugin or if you try to install new plugin or theme.



This error can occur if the server is not able to connect to WordPress.org or api.wordpress.org. You need to edit your /etc/hosts file and enter the IP where WordPress.org or api.wordpress.org is pointed. You can find the IP for using ping command from your local machine.

Open command line in your computer and use below command:

ping WordPress.org

or

ping api.wordpress.org

You will get result as below:

==========
Pinging wordpress.org [66.155.40.249] with 32 bytes of
Reply from 66.155.40.249: bytes=32 time=294ms TTL=49
Reply from 66.155.40.249: bytes=32 time=294ms TTL=49
Reply from 66.155.40.249: bytes=32 time=294ms TTL=49
Reply from 66.155.40.249: bytes=32 time=295ms TTL=49

Ping statistics for 66.155.40.249:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss
Approximate round trip times in milli-seconds:
    Minimum = 294ms, Maximum = 295ms, Average = 294ms
==========

You need to enter the IP (66.155.40.249 ) in your /etc/hosts file as below:

======
66.155.40.249                    WordPress.org www.WordPress.org api.wordpress.org www.api.wordpress.org
======


Your WordPress site will be able to connect WordPress.org or api.wordpress.org to download the required theme or plugin now.

Pages: [1]