Author Topic: Php brooken  (Read 3503 times)

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Php brooken
« on: July 02, 2011, 07:21:17 pm »
So I today I tried to write a little bit of php code for iPhone. Low an behold php seems to be completely broken with all php pages resulting in a "500 internal server error" page. Anyone else having this problem?

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2899
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Php brooken
« Reply #1 on: July 02, 2011, 08:08:00 pm »
Nope.
You mean when you load something and you get that error?

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Php brooken
« Reply #2 on: July 02, 2011, 08:14:53 pm »
when i'm serving up something.

try saving the following code as /home/www/www.ininjas.com/htdocs/index.php , turning on lighttpd, and then browsing to 127.0.0.1 on your ipod, see what it says...

Code: (php) [Select]
<?php 
 
Echo "Hello, World!";
 
?>

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2899
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Php brooken
« Reply #3 on: July 02, 2011, 08:55:11 pm »
Wish I could

LavaThemes

  • Dev Team Member
  • Hero Member
  • *****
  • Posts: 757
  • Reputation: 34
  • Aspiring Developer
  • iDevices: iTouch 4
Re: Php brooken
« Reply #4 on: July 02, 2011, 09:12:17 pm »
Is this on the server or locally? If your doing it on your iPhone make sure you have Php-hypertext installed.

Don't like seeing ads? Click here to register!

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2899
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Php brooken
« Reply #5 on: July 02, 2011, 09:19:34 pm »
You have an ad in your sig?

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Php brooken
« Reply #6 on: July 02, 2011, 09:21:06 pm »
iPod, and yes, I do have php installed, and I already tried reinstalling re installing, I'm going to restore in just a few minutes here, and that should fix it. 

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Php brooken
« Reply #7 on: July 02, 2011, 09:21:49 pm »
You have an ad in your sig?
I'd prefer that we refrain from advertising, but until we get ads of our own, idgaf

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2899
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Php brooken
« Reply #8 on: July 02, 2011, 09:24:30 pm »
Yah put the logo in your sig bro!

LavaThemes

  • Dev Team Member
  • Hero Member
  • *****
  • Posts: 757
  • Reputation: 34
  • Aspiring Developer
  • iDevices: iTouch 4
Re: Php brooken
« Reply #9 on: July 02, 2011, 09:29:56 pm »
My bad. That's a result from the host not allowing direct linking :( I'll fix it in a minute.

Don't like seeing ads? Click here to register!

LavaThemes

  • Dev Team Member
  • Hero Member
  • *****
  • Posts: 757
  • Reputation: 34
  • Aspiring Developer
  • iDevices: iTouch 4
Re: Php brooken
« Reply #10 on: July 02, 2011, 09:31:04 pm »
Yah put the logo in your sig bro!
I'm not staff :P

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Php brooken
« Reply #11 on: July 02, 2011, 09:32:31 pm »
Go ahead and put it in there anyway, if you want to of course, otherwise you can just upload an image, and use that. 

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Php brooken
« Reply #12 on: July 02, 2011, 09:34:31 pm »
I hate to say it, but after looking at your site, I became convinced that 000webhost actually looks better

A3MIRAL

  • Leader
  • Hero Member
  • *****
  • Posts: 2899
  • Reputation: 105
  • A3MIRAL -- Reporting for Duty
    • A3MIRAL
  • Badges:
  • Computers: Dell XPS15 (6 GB ram, Core i7 @ 2.0 GHz, 750 GB HDD @ 7200 RPM)
  • iDevices: iPod touch 3G 32GB, iPhone 5 32GB
Re: Php brooken
« Reply #13 on: July 02, 2011, 09:45:14 pm »

LavaThemes

  • Dev Team Member
  • Hero Member
  • *****
  • Posts: 757
  • Reputation: 34
  • Aspiring Developer
  • iDevices: iTouch 4
Re: Php brooken
« Reply #14 on: July 02, 2011, 09:47:44 pm »
Ok I'm confused. But my sig is fixed so I'm happy!