Lunarpages Web Hosting Forum

Author Topic: How to have a random avatar in Lunarforums  (Read 42018 times)

Offline RPG

  • Pong! (the videogame) Master
  • *****
  • Posts: 21
    • http://www.richgannon.net
How to have a random avatar in Lunarforums
« Reply #60 on: May 14, 2004, 10:09:40 PM »
its just gotta be something with PHP settings...No other explanation.  i know my dev server runs with PHP safe mode enabled.  What about LP servers?

Offline Ripta

  • Master Jedi
  • *****
  • Posts: 1271
How to have a random avatar in Lunarforums
« Reply #61 on: May 14, 2004, 10:09:47 PM »
Quote from: RPG
If so, then I am at a loss, cause all I see it the red X.

http://richgannon.net/avatar.jpg is exactly what I see when going to the link.


Can you please do a screenshot of the FTP view of the /avatar directory? I assume richgannon.net is not on our servers?
GetAFreelancer! (This service is not affiliated with Lunarpages)

Danielle

  • Guest
How to have a random avatar in Lunarforums
« Reply #62 on: May 14, 2004, 10:10:37 PM »
I don't see a red x, I see the code of the image. Are you certain that the images themselves aren't the issue? Did you upload the images in binary mode or ASCII mode? Here is a link that tells you what ftp modes for different types of files:

http://www.lunarforums.com/forum/viewtopic.php?t=10227

Offline Ripta

  • Master Jedi
  • *****
  • Posts: 1271
How to have a random avatar in Lunarforums
« Reply #63 on: May 14, 2004, 10:10:46 PM »
Quote from: RPG
its just gotta be something with PHP settings...No other explanation.  i know my dev server runs with PHP safe mode enabled.  What about LP servers?


We never enable safe-mode. Some servers have disabled_functions != NULL, but that wouldn't pose a problem.
GetAFreelancer! (This service is not affiliated with Lunarpages)

Offline Ripta

  • Master Jedi
  • *****
  • Posts: 1271
How to have a random avatar in Lunarforums
« Reply #64 on: May 14, 2004, 10:11:17 PM »
Quote from: Danielle
I don't see a red x, I see the code of the image. Are you certain that the images themselves aren't the issue? Did you upload the images in binary mode or ASCII mode? Here is a link that tells you what ftp modes for different types of files:

http://www.lunarforums.com/forum/viewtopic.php?t=10227


Let me guess.. Firefox, too?
GetAFreelancer! (This service is not affiliated with Lunarpages)

Danielle

  • Guest
How to have a random avatar in Lunarforums
« Reply #65 on: May 14, 2004, 10:11:58 PM »
Yes, Firefox

Offline Ripta

  • Master Jedi
  • *****
  • Posts: 1271
How to have a random avatar in Lunarforums
« Reply #66 on: May 14, 2004, 10:14:08 PM »
Quote from: Danielle
Yes, Firefox


Well, yeah. Same here. MSIE would not try to display it in the first place.
GetAFreelancer! (This service is not affiliated with Lunarpages)

Offline Ripta

  • Master Jedi
  • *****
  • Posts: 1271
How to have a random avatar in Lunarforums
« Reply #67 on: May 14, 2004, 10:15:53 PM »
Quote from: Ripta
Quote from: RPG
its just gotta be something with PHP settings...No other explanation.  i know my dev server runs with PHP safe mode enabled.  What about LP servers?


We never enable safe-mode. Some servers have disabled_functions != NULL, but that wouldn't pose a problem.


Make sure you upload in ASCII, as people have said. Make sure you have NO extra spaces before <? and ?>. Extra spaces include newlines, linefeeds, tabs, spaces, ....
GetAFreelancer! (This service is not affiliated with Lunarpages)

Offline TranzNDance

  • Princess of Naboo
  • Berserker Poster
  • *****
  • Posts: 11567
    • Thu Tu's Blog
How to have a random avatar in Lunarforums
« Reply #68 on: May 14, 2004, 11:50:18 PM »
I tried in 4 browsers. Here's how they look.
http://www.tu2.net/test/avatar/random-screens.JPG
(remember that IE tends to automatically shrink images, if you have trouble seeing the screen shot)

The only English words I can pick out are  
adobe:docid:photoshop:
3.0ESliceTypeleftOutsetlong

RPG ,

Do those ring any bells?
:whip: :love: :whip: :love: :whip: :love:

Offline p0tter

  • Village Idiot
  • Quantum Encyclopedia Writer
  • *****
  • Posts: 3050
    • My Pixel Addiction
How to have a random avatar in Lunarforums
« Reply #69 on: May 15, 2004, 01:14:38 AM »
With the errors I'm seeing(Tranzndance's) it looks like that same problem I was having. Somewhere in the upload process (upload type[binary/ascii] or a problem with notepad/what ever he used to copy-paste) is causing a problem.

If you'd like, PM and I'll send you my index.php file and then see if that works.
O|||||O

Offline TranzNDance

  • Princess of Naboo
  • Berserker Poster
  • *****
  • Posts: 11567
    • Thu Tu's Blog
How to have a random avatar in Lunarforums
« Reply #70 on: May 15, 2004, 01:38:57 AM »
RPG,

When I saw that adobe text, I thought there was something to do with the images, so I thought I would experiment with your images. I set up a directory where I have copies of the avatars you wanted to use. I copied and pasted the code that you posted that you were using. It works:
http://www.tu2.net/test/rpg

Could you please describe step-by-step what you did once you copied the code? In what application do you paste? Do you save as text only? What do you use to FTP? What mode--ASCII or binary?
:whip: :love: :whip: :love: :whip: :love:

Offline RPG

  • Pong! (the videogame) Master
  • *****
  • Posts: 21
    • http://www.richgannon.net
How to have a random avatar in Lunarforums
« Reply #71 on: May 15, 2004, 05:34:55 AM »
Well its not the images, and all FTP is uploaded properly, as it is working....just the PHP is not showing the images properly :-?

And no, it is not on LP- servers.

Offline Ripta

  • Master Jedi
  • *****
  • Posts: 1271
How to have a random avatar in Lunarforums
« Reply #72 on: May 15, 2004, 05:36:41 AM »
Quote from: RPG
Well its not the images, and all FTP is uploaded properly, as it is working....just the PHP is not showing the images properly :-?

And no, it is not on LP- servers.


Change the filename from index.php to index.txt. Therefore, we can see the source of whatever's uploaded :D
GetAFreelancer! (This service is not affiliated with Lunarpages)

Offline RPG

  • Pong! (the videogame) Master
  • *****
  • Posts: 21
    • http://www.richgannon.net
How to have a random avatar in Lunarforums
« Reply #73 on: May 15, 2004, 02:24:06 PM »

Offline Mocca

  • Intergalactic Cowboy
  • *****
  • Posts: 63
    • http://www.wowmb.net
How to have a random avatar in Lunarforums
« Reply #74 on: July 04, 2004, 10:37:53 PM »
Thankyou to cooleo100d for pointing me to this thread  :)

Sorry to dig it back up again, but I am having problems :-( I have coped that code exactly, pasted it in Notepad and saved it as index.php. I uploaded that and 2 images (both .gifs) to a new directory I made and then tried to go to that address - all I can see is a page full of what I think is code?

Quote
GIF89acR`.eRb5(XP@@b '


lots and lots of that... what did I do wrong?