Welcome to Gaia! ::

Seiki Nova
OMG, what did I do wrong? Everyone elses maps work but mine. Someone help me out here.
I think on line six (count 6 spaces down even ones with no text remove the "class" part of the code then try it in my thing I don't have the "class" thing and the error is on line 6 )
Seiki Nova
Bigalo
Seiki Nova
Bigalo
I have no Idea what I am doing wrong but when I try to click or even view the page and this is all I get, when I also try to click my image map on any spot the same thing happens image here so my question is, what am I doing wrong? did I code it wrong?
in my sig you can try it (I made it simple because this is my first attempt)
You sort of have the same problem as me. If you click my sig, you will see that I get a big error. I am waiting to see what I did wrong from Borobdin
I just figured out my problem I am so stupid xp
Then can you help me?
I just posted 3nodding
Bigalo
Seiki Nova
OMG, what did I do wrong? Everyone elses maps work but mine. Someone help me out here.
I think on line six (count 6 spaces down even ones with no text removed the "class" part of the code then try it)
OK, I'll try that.
I hope that helps
Nothing. None of the pages are loading.
could I see the code you are using maybe you didn't put in something like a small code
Bigalo
could I see the code you are using maybe you didn't put in something like a small code
<?PHP
/* Gaia Image Map Go-er
Rudolph J Heuser
*/

require_once("imagemap.php")

// new imageMap
$myImageMap = new imageMap()

// define regions
$area = new Rect(6,145,185,161, "http://www.gaiaonline.com/forum/guilds/index.php?page_mode=4&guild_id=1979")
$myImageMap->addToMap($area)

$area = new Rect(6,162,186,176,"http://www.gaiaonline.com/forum/viewtopic.php?t=3449326&highlight=")
$myImageMap->addToMap($area)

$area = new Rect(7,177,184,190,"http://www.gaiaonline.com/forum/viewtopic.php?t=4666591&highlight=")
$myImageMap->addToMap($area)

$area = new Rect(192,126,371,250,"http://www.gaiaonline.com/gambino/bank.php?mode=trade&uid=537536")
$myImageMap->addToMap($area)

$myImageMap->setDefaultURL("http://www.gaiaonline.com/profile/profile.php?mode=viewprofile&u=537536")

// capture X and Y from query string
$x_and_y = $_SERVER["QUERY_STRING"]
$x_and_y = explode(",",$x_and_y)
$inX = $x_and_y[0]
$inY = $x_and_y[1]
unset($x_and_y)
Nevermind. I finnally got it to work. Thanks for your help though.
I got it now. Thank you for you help though.
Seiki Nova
I got it now. Thank you for you help though.
ok I wish I could help more though
Bigalo
I think on line six (count 6 spaces down even ones with no text remove the "class" part of the code then try it in my thing I don't have the "class" thing and the error is on line 6 )
No wonder no one can get it to work.....
When you get that kind of error, there are two things that could be wrong.
1) you didn't upload the imagemap.php file to the same folder online as your map.php file.

2) you forgot to change either the filename of the imagemap.class.php to imagemap.php or you forgot to change it in the map.php code.

Since the code you posted had "imagemap.php" in the map.php code...I'm guessing you uploaded imagemap.php to your host and then it started working.

In any case, I'm glad you got it to work.

Bigalo, I'm guessing you noticed that extra comma in the code for your first link. That would do it. I can't see you image...you must have run out of bandwidth or something.
borobdin
When you get that kind of error, there are two things that could be wrong.
1) you didn't upload the imagemap.php file to the same folder online as your map.php file.

2) you forgot to change either the filename of the imagemap.class.php to imagemap.php or you forgot to change it in the map.php code.

Since the code you posted had "imagemap.php" in the map.php code...I'm guessing you uploaded imagemap.php to your host and then it started working.

In any case, I'm glad you got it to work.

Bigalo, I'm guessing you noticed that extra comma in the code for your first link. That would do it. I can't see you image...you must have run out of bandwidth or something.
o yeah it's working and I changed my image the other was a test
Hello?! >.> <.<

Quick Reply

Submit
Manage Your Items
Other Stuff
Get Items
Get Gaia Cash
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff