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

Posts: 99
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
 
When You Register, These Ads Go Away!
Old 07-11-2007, 01:20 AM Re: My Apache and PHP 4.4.7
vangogh's Avatar
Post Impressionist

Posts: 8,816
Name: Steven Bradley
Location: Boulder, Colorado
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 | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-11-2007, 09:02 AM Re: My Apache and PHP 4.4.7
damien_ls's Avatar
Layershift

Posts: 435
Name: Damien
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...
__________________
Layershift :: DDS & Dedicated, UK & USA-based Managed Virtuozzo VPS, Reseller & Shared Hosting
Experienced Parallels Platinum Partners (Plesk since 2001, Virtuozzo since 2004)
damien_ls is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to My Apache and PHP 4.4.7
 

Thread Tools

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

vB code is On
Smilies are On
[IMG] code is Off
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.14892 seconds with 12 queries