Monday, July 2, 2018
To perform the requested action, WordPress needs to access your web server
Wednesday, September 23, 2015
Wordpress WPL Search fixes
WPL is a nice and complete plugin for WordPress for property management. While I was configuring the WPL on a server I saw that the search widget has a problem. The search button always appear on top or next to very first search parameters. Meanwhile other search parameters are hidden under the bottom slider.
In this post I am sharing with you how to place the search button at the bottom of search box & how to disable the "mor option slider".
For doing this process you need to have access to your web server control panel.
1. Login to your control panel
2. Goto file manager.
3. Navigate to the directory which WordPress is installed.
4. Then navigate to the following address: /wp-content/plugins/real-estate-listing-realtyna-wpl/widgets/search/tmpl/
5. Then open default.php for editing.
6. For disabling the search box " more option slider" find the following:
$bott_div_open = false;
Then change the false to true.
7. Then for moving the search button. Find following part
<div class="searxh_submit_box"> <input .... </div>
Cut it and past it after following line:
<?php echo $bott_div; ?>
Goodluck
Monday, November 17, 2014
Android 5.0 (Lollipop) is ready for Nexus 5
This update is available for Nexus 4, Nexus 5, Nexus 7, and Nexus 10.
![]() |
System update is available |
Wednesday, November 5, 2014
OWASP Malaysia Chapter Meeting
Run Cron Jobs on Windows
- First, right click on your favorite browser icon, and select properties.
- Second, copy the address in "Target" field.
- Next, open the notepad and paste the address that you copied in middle of pair of double quotation signs.
- Then, add a white space, and write the address of your PHP/ASP page which you want to run on a spspecificchedule in middle of pair of double quotation sign. (example below)
- "C:\Users\User\AppData\Local\Google\Chrome\Application\chrome.exe" "http://localhost/myproject/send_mail.php"
- Now, save the file with your desire name but with ".bat" extension. for instance cron.bat
- Go to "Control Panel" and open "Schedule tasks".
- Click on "Create Basic Task"
- Chose a name for your task (example: "SendMail Cron") and click Next.
- Chose the timing schedule for the calling of the web page. And click Next.
- In "Action" part, chose "Run a program" click next.
- Now select the batch file which you created sooner (ex "cron.bat")
- Finish
Wednesday, June 4, 2014
Thursday, April 17, 2014
Send email using Xampp from localhost
- First go to the path that you installed Xampp application. By default it is "C:\xampp\".
- Then we need to find the php.ini file which contains the configurations belong to PHP. This file by default is located at "C:\xampp\php\php.ini". Open it using any text editor like notepad.
- Using search in the editor try to find "sendmail_path". There should be two of them. One is commented using a ";" (semicolon) in the beginning of the line , and the other one is not commented. Comment the one that is active and active the one is commented. After the edit it should looks like below... (Similar)
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
; XAMPP: Comment out this if you want to work with mailToDisk,...
;sendmail_path="C:\xampp\mailtodisk\mailtodisk.exe" - Save the php.ini file and restart the Apache process. This is necessary for the configuration to take place.
- Next navigate to the sendmail directory. By default it should be located at "C:\xampp\sendmail" and open the "sendmail.ini" in the text editor.
- Now we need to set the configuration for the mail server. For this case I chose Gmail. The SMTP address of Gmail is: "smtp.gmail.com" and the SMTP port for Gmail is "587".
- Find "smtp_server" and write the Gmail SMTP address in front of that.
- Find "smtp_port" and write the Gmail SMTP port in front of that.
- Scroll down , you should be able to see "auth_username" & "auth_password". Put your gmail username in front of auth_username and put the password in front of auth_password .
- Save and now you are good to send mail from local host.
- Note that your PHP mail function should have "from" header,otherwise your mail will not go through.
- Also remember the that the destination will receive the mail from your Gmail address not from the address you put in your PHP code.
- The following code is a simple example of PHP script which can send a successful mail.
Please make sure your firewall, antivirus or other security software is not stopping the sendmail.exe to communicate with internet!