Can't move beyond homepage

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
omuyshon
Forum Newbie
Posts: 4
Joined: Sat Jun 27, 2009 3:46 pm

Can't move beyond homepage

Post by omuyshon »

Hi:

Our dev team recently handed over our site to us and I tried to update a .swf file on our homepage. To do so, I downloaded the index.php file which pointed to the original .swf file and updated it with the new .swf file name. I literally updated one field. To play it safe, I even created a backup of the previous index.php file. When I upload either of the new files to our server, the homepage loads but none of the links move beyond the homepage. Here is a link: http://www.localtripper.com. Don't know if this is a small or big issue. Kinda freaking out here.

Any insight would be greatly appreciated.

Thanks!
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Can't move beyond homepage

Post by requinix »

Why aren't you asking your "dev team"?
omuyshon
Forum Newbie
Posts: 4
Joined: Sat Jun 27, 2009 3:46 pm

Re: Can't move beyond homepage

Post by omuyshon »

The simple reason is that we're under a time crunch and site is down. Beyond that, we'd like to managing minor maintenance ourselves which is why I was reaching out to people on this forum who are willing to lend some advice to newbies. Do you have any insight?
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: Can't move beyond homepage

Post by Darhazer »

Maybe you've downloaded only the HTML code of the page, instead of the PHP, and you've replaced the PHP with plain HTML?

Another possible reason - you've deleted / altered .htaccess by accident?

P.S. Non SEO links like http://www.localtripper.com/sitemap.html work
omuyshon
Forum Newbie
Posts: 4
Joined: Sat Jun 27, 2009 3:46 pm

Re: Can't move beyond homepage

Post by omuyshon »

Thanks Darhzer,

Yes, this is limited to SEO links only. I literally saved the files as is (save file as) so I don't see how it could be realted to only copying the html code. Is there a compile that needs to be done when updating the index.php file? I ask because I am getting a series of Fatal error: Call to undefined function errors in the modules that have been constructed. Appreciate your taking the time to lend a hand!
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Can't move beyond homepage

Post by onion2k »

This forum is really good for working through problems, but as it's time critical you really do need to contact the people who created the website in the first place. It could take a while to ascertain what the reason is without knowing the website; it'll be a 5 minute job for the person who wrote it. Do what's best for the website.
omuyshon
Forum Newbie
Posts: 4
Joined: Sat Jun 27, 2009 3:46 pm

Re: Can't move beyond homepage

Post by omuyshon »

I think I'm going to go with that advice . Was just freaking out that I might have really $%^^ things up. Not too sure how bad the damage is but hopefully you're right and it's just a small fix. Thanks.
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: Can't move beyond homepage

Post by Darhazer »

omuyshon wrote:Thanks Darhzer,

Yes, this is limited to SEO links only. I literally saved the files as is (save file as) so I don't see how it could be realted to only copying the html code. Is there a compile that needs to be done when updating the index.php file? I ask because I am getting a series of Fatal error: Call to undefined function errors in the modules that have been constructed. Appreciate your taking the time to lend a hand!
Did you use FTP or something other or you've just chosen 'Save file as' in the web browser? In the second case, you've downloaded only the output of the program, loosing all functionallity.
Post Reply