Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
My Apache and PHP 4.4.7
Old 07-10-2007, 09:36 PM My Apache and PHP 4.4.7
Skilled Talker

Posts: 99
Trades: 0
I made a complete back-up of my site (clanin.net) on my computer, and set it up with my local Apache and MySQL.

If you go to clanin.net and click on members, it displays the members... but for my computer, it ALWAYS brings up the homepage. I do not understand this!

It is bringing up the homepage on my computer perfectly (reading from the database), but the page always stays the same (if I go to http://localhost/clanin.net/index.php?p=Members it still shows the homepage).

The other problem is that my passwords do not work which are encrypted in MD5.

Also, at the bottom of PhpMyAdmin, it gives me this error:

"Cannot load mcrypt extension. Please check your PHP configuration."

So, can anyone give me advice on how to get my pages to show, get my password to work, and get the mcrypt error resolved?
Arez20469 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-11-2007, 02:20 AM Re: My Apache and PHP 4.4.7
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
You probably need to set up mcrypt. I found this thread on the Apache Forum that looks like it explains how.

I'm guessing that will solve the passwords problem too.

I'm not sure about the first one.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-11-2007, 10:02 AM Re: My Apache and PHP 4.4.7
damien_ls's Avatar
Layershift

Posts: 474
Name: Damien
Trades: 0
It looks like all your pages are controlled via the querystring, and therefore my guess would be that the reason it isn't working is due to the way you're manipulating it within your code.

More specifically, I think you'll find (various) php settings differences between your live site and the local version. I would recommend checking phpinfo() output on both to bring them closer together - on the assumption that you want to use your local machine as a staging environment or similar...

My guess would be the culprit is register_globals - and your code containing bad practice with respect to this setting/issue...
__________________

Please login or register to view this content. Registration is FREE
:: DDS & Dedicated, UK & USA-based
Please login or register to view this content. Registration is FREE
, Reseller & Shared Hosting
Experienced Parallels Platinum Partners (Plesk since 2001, Virtuozzo since 2003)
damien_ls is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to My Apache and PHP 4.4.7
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17012 seconds with 12 queries