Thursday, February 9, 2012

Jennifer Lopez On The Floor ft. Pitbull PARODY


Clues if a site is run by magento

No 1
right click on the page and click view-page -source

if you find several "/skin/frontend/" the site might be run by magento
or if you  /skin/frontend/default/default it means probably they have played around with default theme...

No 2
in chrome or firefox (i think you have to install firbug in chrome nothing is needed to do the inspace element)







notice in the Resources -> Cookies section theres frontend attribute

disable Cookies in the browser the site will respond to enable Cookies and what are Cookies :)

No 3
right after magento site url that is after the index.php (eg: www.shoesales.com/index.php) add a slash and admin www.shoesales.com/index.php/admin if it takes you to admin panel logi screen definitely the site is run by magento..











you can change the admin url via admin panel but please be careful. backup before you do anything magento also values to database tables.
https://secure.properhost.net/members/knowledgebase.php?action=displayarticle&id=15

to check if you hosting site can support Magento
http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento

Supported Operating Systems: Linux server

Supported Web Servers: Apache 1.3.x or Apache 2
PHP Compatibility: 5.2.0 and above with Safe mode off
MySQL: 4.1.20 and above

Fontis Australia - Magento

today i encountered a nice error.. i am very thankful for google and all guys who put free help stuff..

i had installed Magento 1.6.2.0 community edition

i had to install fontis australia module in the new server running PHP 5.3.8 got an error
CONNECT ERROR: Can’t write to file: /home/magento/downloader/.cache/community/Fontis_Australia-2.0.7/app/design/adminhtml/default/default/template/fontis/australia/system/config/form/field/array_dropdown.phtml

many guys in the forum said it was PHP version thing. OMG ha ha,  i checked another installations it was PHP 5.2.. hmm didnt wanna give up digged some more and got patch from http://kb.magenting.com/content/22/70/en/magento-connect-error-can%E2%80%99t-write-to-file-downloader-cache-community.html.



Magento Store Debug

whenever you start playing with Magento code or install new modules the frontend/admin panel users might get a ugly error page, so in order to bypass this... in the public_html or root folder theres a folder called errors and you will find a file called local.xml.sample. rename or copy it to local.xml...  

and change the action to email email
and add your email error@jeromenicholas.com

so whenever theres bug or some conflicting error the user will see a contact the admin form, even if they close the form, magento will send you email with a detail debug dump. 




Magento Tutorials

3 configurable attributes

small preview my three configurable product page...

free magento themes:


What is my IP

Magento Community - Maintenance Mode

add a file inside your magento installation directory called maintenance.flag with text maintenance







whenever someone access the site will get the following messsage








the code in index.php that is in the /public_html or root folder, checks if there's a file called maintence.flag, if its available shows the /errors/503.php file.
























change it to your own custom page


























or change the line to



$ip = $_SERVER['REMOTE_ADDR'];


$allowed = array('112.134.126.52','112.134.123.64'); 
// these are the IP's that are allowed to view the site.


if (file_exists($maintenanceFile) && !in_array($ip, $allowed)) {

Magento Go
http://www.magentocommerce.com/knowledge-base/entry/configuration-general-maintenance-mode/








Wednesday, February 8, 2012

THE HOLLIES - He Ain't Heavy, He's My Brother


login into Fedora 16 from Windows 7 putty



i am trying to connect my fedora pc from windows pc in the same local network

Computer A:
Fedora 16 32 bit Gnome


Computer B:
Windows 7 Premium + Putty

Fedora 16 ->
open the "Firewall" and under "Trusted Interfaces"
check the eth+


you need to install "openssh-server"
you can try rpm -q openssh-server to find out if its already installed
open the gnome-terminal and type yum install openssh-server

you probably need to configuere ssh
type vi /etc/ssh/sshd_config
locate the lines

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes

and uncomment it
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no
PasswordAuthentication yes

service sshd status --to get the status of ssh
service sshd restart -- restart the ssh

ps -C | grep ssh --check if ssh is running


download the putty.exe
type the ip address and select ssh

netstat -a | grep ssh --you will see new connection in "ESTABLISHED" state


He Ain't Heavy (He's My Brother) - David Locke


About

Blogger templates