PDA

View Full Version : Given BBCodes aren't working


kjomi
03-19-2009, 11:21 AM
Edit: Link problem solved, but images aren't showing up

Example:

http://www.adoptables.comuv.com/home/a7807112/get.php?id=2
Creature Name: Glowbulb
Level this creature up! Click Here! (http://www.adoptables.comuv.com/home/a7807112/levelup.php?id=2)

Can somebody help me? I have no idea of Php and why this doesn't funktion.

BMR777
03-19-2009, 01:21 PM
In your config.php file double check the domain name and script path you entered. Your domain name should be adoptables.comuv.com and the script path should be /adoptables. :)

kjomi
03-19-2009, 03:31 PM
ok, I'll try it :)

kjomi
03-20-2009, 01:18 PM
ok, now the link is working, but not the graphics

http://www.adoptables.comuv.com/adoptables/get.php?id=2
Creature Name: Glowbulb
Level this creature up! Click Here! (http://www.adoptables.comuv.com/adoptables/levelup.php?id=2)

BMR777
03-20-2009, 01:57 PM
Does your host have PHP's readfile() function enabled?

kjomi
03-20-2009, 04:05 PM
Yes, it has, but I think I found something in the FAQ of the host how you can get around it

BMR777
03-20-2009, 04:12 PM
Forced ads will interfere with the images. Have your host disable the ads / additional code, or choose a different host.

kjomi
03-20-2009, 04:26 PM
My host (000webhost) has no ads.

They say:
"We have disabled most insecure PHP functions and it cannot be enabled for security reasons. To remove this warning, edit your PHP script and remove entire line where disabled function is mentioned or insert this line on the top of PHP script:

error_reporting(0);"

Could this work?

BMR777
03-20-2009, 04:32 PM
If they have the readfile function disabled then that part of the script won't work.

kjomi
03-20-2009, 04:35 PM
Would it help if I follow their instructions and add the "error_reporting(0);" at the top of the php-script?

BMR777
03-20-2009, 05:59 PM
No, all that would do is hide the error. Then you would just see a blank page.

Seapyramid
03-20-2009, 10:55 PM
Personally, just a matter of point, but using ANY free service for adoptables is not smart! Even if they allow you now, adoptable scripts are hard on MySql & the more popular your pets become, the harder it is on the server. Free Servers are going to drop you very quick & not smart to even start with for this type of site!

Sea

kjomi
03-21-2009, 04:29 AM
the problem is, that I haven't got access to my money because I'm just thirteen years old, so I can only use free hostings.

rosepose
03-21-2009, 09:15 AM
kjomi, I'm 15 and I've been using a paid server for 3 years :3 Ask your parents.

-Rose

kjomi
03-21-2009, 09:43 AM
I already did, and they don't think that a clickable site is worth paying money every month / year.

rosepose
03-21-2009, 09:47 AM
Well, point out to them that if it becomes popular you can get about $20 a month in ads so it will pay for itself.

kjomi
03-21-2009, 09:54 AM
I can try to, but they are probably hoping that this is an idea that I'll give up soon (I have a lot of them). Is there any not to expensive, good hosting?

BMR777
03-21-2009, 02:32 PM
In the future, after the new release, I hope to offer a hosted version of this script as well. Something where it is a one-click install and you get a you.something.com domain for your site and we host the adoptables script.

I'll share more when the time is right. :)

Brandon

kjomi
03-21-2009, 03:30 PM
sounds good =)