Jump to content

[SOLVED] URL failing after item selection format problem?


jsin

Recommended Posts

Whats wrong with this line?

 

			$sOutput .= '<div class="gift_image" style="width:'.$smallGiftSize.'px;height:'.$smallGiftSize.'px;" onmouseover="this.className=\'gift_image2\';showInfo5(\''.$row['title'].'\', \'\', \'\')" onmouseout="this.className=\'gift_image\';return nd();" onclick="getContentx(\''.getAjaxUrl('public','gifts','getgift').'\', \'id_'.$row['id'].'\', \'the_gift\')"><img id="gift'.$row['id'].'" src="'.$img.'" /></div>';

 

 

ERROR MESSAGE:

The requested URL /public/gifts/getgift/id_1 was not found on this server.

 

You can see the error at

http://meetinglane.com

login: mrtech

pass: 1234

 

go to gifts (last mid menu option) and try to send a gift.

a direct url works so I think the problem is in the last part of the line

.getAjaxUrl('public','gifts','getgift').'\',

 

http://meetinglane.com/index.php?do=/gifts/getgift/id_1

 

pastebin link to entire php http://pastebin.com/m194585ce

 

Any help would be appreciated, 2 weeks and no progress on my side

http://meetinglane.com/gifts/getgift/id_1

 

Put this in your web browser and you will see page not found meaning that directory does not exist, that is what your code is calling, where as your link with the do statement calls the index page of the main web directory

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.