d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > Guide: How-to Make A Dynamic Ladder-slasher Sig > In A Few Easy Steps With Pics
Prev1212223242560Next
Add Reply New Topic New Poll
Member
Posts: 61,353
Joined: Nov 16 2006
Gold: 1,202.66
Warn: 10%
Jan 14 2009 04:11am
I have read almost every post here I believe, I have a working copy of all the files of my sig (below in my sig) that markov have made for me.

He sent me the files, and I uploaded them. Without changing a single thing, I get this error msg:

Code

Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'bg.png' is not a valid PNG file in /home/a6723649/public_html/bg.png/index.php on line 16


I have tried a few different things in the .htaccess file, such as:

#options multiviews (with and without the '#')
#Options +Indexes

also tried this: AddType application/x-httpd-php5 .png


Currently I have this:

Code

#options multiviews
#Options +Indexes
AddType application/x-httpd-php5 .png


What is my problem?? Obviously the same exact file work on martovs server because you can see my sig he is hosting atm.
And all he had was

options multiview
Member
Posts: 4,134
Joined: May 25 2004
Gold: 219.26
Jan 14 2009 06:46am
Quote (SilentXer0 @ Sun, 11 Jan 2009, 21:43)
i like them called by name, here is how i do it.



Code





$cprof = array(
                      ice => 0,      // set names and fill them with 0's  so we always get a result from a call
                     fire => 0,      
                lightning => 0,      
                     wind => 0,      
                    earth => 0,      
                 wildheal => 0,      
                     heal => 0,      
              focusedheal => 0 );    



$c = split(";",$data->cprof);
      foreach ($c as $a)
      {
    $cpn = array( 0 => 'ice', 1 => 'fire', 2 => 'lightning', 3 => 'wind', 4 => 'earth', 5 => 'wildheal', 6 => 'heal', 7 => 'focusedheal');  
    $temp = split(",",$a);
    $cpname =  $temp[0];
    $cpdata =  $temp[1];
    $cpname = $cpn[(int)$cpname];
    cprof[$cpname] = $cpdata;
}




and how about wpn/skill profs?
Member
Posts: 61,353
Joined: Nov 16 2006
Gold: 1,202.66
Warn: 10%
Jan 14 2009 07:05am
Quote (kaspir @ Wed, Jan 14 2009, 06:11am)
I have read almost every post here I believe, I have a working copy of all the files of my sig (below in my sig) that markov have made for me.

He sent me the files, and I uploaded them. Without changing a single thing, I get this error msg:

Code

Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'bg.png' is not a valid PNG file in /home/a6723649/public_html/bg.png/index.php on line 16


I have tried a few different things in the .htaccess file, such as:

#options multiviews (with and without the '#')
#Options +Indexes

also tried this: AddType application/x-httpd-php5 .png


Currently I have this:

Code

#options multiviews
#Options +Indexes
AddType application/x-httpd-php5 .png


What is my problem?? Obviously the same exact file work on martovs server because you can see my sig he is hosting atm.
And all he had was

options multiview



TO see what I get, try this:

Copy and paste this into your browser.
Code

http://kaspir.comze.com/bg.png/

Member
Posts: 531
Joined: Mar 9 2008
Gold: 0.00
Jan 15 2009 08:31pm
first try at this, got these errors when i tried to view in IE

Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 52

Warning: simplexml_load_file(http://ladderslasher.d2jsp.org/xmlChar.php?i=163081) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 52

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://ladderslasher.d2jsp.org/xmlChar.php?i=163081" in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 52

Fatal error: Call to undefined function imagettftext() in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 77
Member
Posts: 4,969
Joined: Feb 19 2007
Gold: 159.28
Jan 15 2009 09:17pm
Quote (badboy013 @ Thu, Jan 15 2009, 09:31pm)
first try at this, got these errors when i tried to view in IE

Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 52

Warning: simplexml_load_file(http://ladderslasher.d2jsp.org/xmlChar.php?i=163081) [function.simplexml-load-file]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 52

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://ladderslasher.d2jsp.org/xmlChar.php?i=163081" in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 52

Fatal error: Call to undefined function imagettftext() in /www/110mb.com/b/a/d/b/o/y/0/1/badboy013/htdocs/index.php on line 77


looks like the server you try to use support php 4 and not 5

try hosting on site50.net I think was the site

/e 3edits to get the right website ohmy.gif

This post was edited by MightyBEG on Jan 15 2009 09:19pm
Banned
Posts: 205
Joined: Sep 9 2008
Gold: 0.00
Warn: 70%
Jan 15 2009 11:45pm
shit guide /fail
Member
Posts: 61,353
Joined: Nov 16 2006
Gold: 1,202.66
Warn: 10%
Jan 16 2009 12:09am
Quote (MightyBEG @ Thu, Jan 15 2009, 11:17pm)
looks like the server you try to use support php 4 and not 5

try hosting on site50.net I think was the site

/e 3edits to get the right website ohmy.gif


Yea I been using site50.net and honestly they shut down my server for I have no idea why. I did not break the agreement in any way. Plus I had alot of trouble getting it to work there, BUT it DOES work.. if they let you keep the free hosting tongue.gif

Quote (A_N_Z_A_C @ Fri, Jan 16 2009, 01:45am)
shit guide /fail


that was an idiot post.. if you have nothing important to say, do not post here.. I think many will agree. EDIT: hense the reason why you got 40%?? You are spamming.

This post was edited by kaspir on Jan 16 2009 12:12am
Banned
Posts: 205
Joined: Sep 9 2008
Gold: 0.00
Warn: 70%
Jan 16 2009 12:10am
Quote (kaspir @ Fri, Jan 16 2009, 02:09pm)
that was an idiot post.. if you have nothing important to say, do not post here.. I think many will agree.


i disagree
Member
Posts: 531
Joined: Mar 9 2008
Gold: 0.00
Jan 16 2009 02:16am
Quote (MightyBEG @ Thu, Jan 15 2009, 07:17pm)
looks like the server you try to use support php 4 and not 5

try hosting on site50.net I think was the site

/e 3edits to get the right website ohmy.gif


got most of it to work by switching, thanks for the help, im having trouble getting the xp bar to work right. when i tried to move it into the lower left corner i couldnt get it to read right. and now i cant the the sig to work on jsp lol...the link to the sig is there, tried to insert img code and url code neither worked...im more into the computer tech side of things not the programing tongue.gif tongue.gif

This post was edited by badboy013 on Jan 16 2009 02:17am
Member
Posts: 61,353
Joined: Nov 16 2006
Gold: 1,202.66
Warn: 10%
Jan 16 2009 03:51am
Quote (badboy013 @ Fri, Jan 16 2009, 04:16am)
got most of it to work by switching, thanks for the help, im having trouble getting the xp bar to work right. when i tried to move it into the lower left corner i couldnt get it to read right. and now i cant the the sig to work on jsp lol...the link to the sig is there, tried to insert img code and url code neither worked...im more into the computer tech side of things not the programing tongue.gif tongue.gif


You have to wait 24 hours while site50.net checks your account before you can post it on jsp. Also about moving the exp bar, please let me know if you figure out how to move it.. I learned how to change the size, but can't move it.. lol.. thx and goodluck!
Go Back To Ladder Slasher Topic List
Prev1212223242560Next
Add Reply New Topic New Poll