Tampilkan postingan dengan label How to. Tampilkan semua postingan
Tampilkan postingan dengan label How to. Tampilkan semua postingan

Minggu, 04 November 2012

How to Solve XAMPP (phpMyAdmin Error) on Fedora


Error Code :
New XAMPP security concept:
Access to the requested object is only available from the local network.
This setting can be configured in the file "httpd-xampp.conf".
If you think this is a server error, please contact the webmaster.
Error 403
localhost


How to Fix it
1) Open httpd-xampp.conf file at /opt/lampp/etc/extra/ (sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf)
2) Add Require all granted before </Directory>
<Directory "/opt/lampp/phpmyadmin">
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    Require all granted

</Directory>
3. Restart XAMPP (sudo /opt/lampp/lampp stop then sudo /opt/lampp/lampp start)

Minggu, 29 April 2012

How to fix Rapidleech accounts.php error


You got this error when try to download a file with rapidleech?

Value for $secretkey is empty, please create a random one (56 chars max) in accounts.php!


Don't worry, :D you can fix it...
first, 
open : configs/accounts.php on your rapidleech folder
second, 
replace this line : $secretkey = ''; 
with this one : $secretkey = 'secrettt'; 
you can change secrettt with anything you like :D

Jumat, 27 April 2012

How to Fix Brightness Slider on System Setting Fedora



Do you have problem with brightness slider on fedora 16?
Don’t worry, you can fix it with a simple command on Terminal.



First, Open your terminal :D
Second, Re-install your bash : sudo reinstall-bash


Now, open your Screen setting (System Setting >> Screen). Slider will work normal, and you can setting your brightness again.

How to Repair Grub on Ubuntu / Linux Mint


1. Boot from Your Ubuntu/Linux Mint Live DVD/CD/USB


2. Open Terminal


3. Check Your partition list, use :
sudo fdisk -l


4. Mount your root partition at /media, assuming is /dev/sda3
sudo mount /dev/sda3 /media


5. then, re-install Grub
sudo grub-install --root-directory=/media /dev/sda


6. Reboot Your machine, then eject you Live DVD/CD/USB


7. After you successfully to log-on to Ubuntu/Linux Mint desktop, let's open your Terminal again, then update Grub
sudo update-grub


8. Reboot :D and Your Grub will successfully repaired!

How to Repair Grub on Fedora


1. Boot Your Fedora Live DVD/CD/USB

2. Open terminal

3. Check the partition list, use :
sudo fdisk -l

4. Mount Your root partition at /media, assuming is /dev/sda3
sudo mount /dev/sda3 /media

5. then, re-install Grub
sudo grub2-install --root-directory=/media /dev/sda

6. Update grub
sudo grub2-mkconfig -o /media/grub2/grub.cfg

7. You will have to adjust for your actual layout.

How to Install 0 A.D. on fedora



0 A.D.  is a free, open-source, cross-platform real-time strategy game under development by Wildfire Games. It is a historical war and economy game focusing on the years between 500 B.C. and A.D. 500 The game is cross-platform, playable on Windows, Mac OS, and GNU/Linux. The game aims to be entirely free and open-source. In addition, the developers do not get paid for their work, nor will they charge for their product. The game has been in development since 2000, with actual work starting in 2003. There is no official release date set for the finished version. — wikipedia.org

su
cd /etc/yum.repos.d/
urlgrabber http://repos.fedorapeople.org/repos/bioninfornatics/0ad/fedora-0ad.repo
yum install 0ad

Senin, 23 April 2012

How to solve Fatal Memory Error on WordPress

wordpress


Error Code : 
"Fatal error: Out of memory (allocated 19398656) (tried to allocate 30720 bytes) in /home/xxx/public_html/wp-admin/includes/plugin.php on line 675"

How to solve it :


1. Open your wp-config.php, then add this:
define('WP_MEMORY_LIMIT', '256M');


2. Create new file named php.ini on Your wordpress root directory, add this:
memory_limit=64M


3. Also, copy php.ini file to folder wp-admin.


4. Now, refresh your website.


NOTE : 
If you got this error :
"Parse error: syntax error, unexpected T_STRING in home/name/public_html/wp-config.php on line 21"


Delete:
define('WP_MEMORY_LIMIT', '256M');
on your wp-config.php file.