Perocore wrote:Sooo does anyone have any idea what this is telling me?
‰PNG IHDR D¤ŠÆtEXtSoftwareAdobe ImageReadyqÉe<�0PLTEMÒ‹8%* )pJ HÄ‚C¶xT8.~S3Œ]>¨oF.$bA8šføÕFÎIDATxÚÔ“É’Ã CÕ+›±ÿÿo§ÉÔÄCH|L%ºQ¼BB À·H(d€ P¨^PFf¢}°T(/€8DpÕ8‹i[÷³ª'›—JH뻇59rYSM“”þ`%ìÖ†ˆdóXûð fjØ5Z;’s£Üÿ[xL{’ÄYÑ“[Ò6±Ù0¯~fÔÆ;h1¤,ºeïHÊgt-·LnÚ˜GH ÏjU„ºR!Ïóë~™j"œŸ´IEND®B`‚
I am uncertain, but perhaps it is conflicting with my HTML and CSS..?
That should be some of the code of your picture (the one you create with simple.php).
Is this the whole code you get on the site? If not, can you post the whole code? If there are passwords, don't forget to change them up so we don't see.
---
I have a question myself. I'm currently at it again (yeah, after years XD). And I have, so far, successfully integrated the script with phpBB (and it took me hours, lol, because of the template structure of phpBB).
The weird thing is, when I first adopt a pet, the picture is broken. But when I display it again or click on the image and click "display image", it's working.
And sometimes, it's working just fine. I really don't understand what's wrong. It's working just fine for the version not integrated into phpBB.
Which codes from which files should I show you? I'm really not sure where something could be wrong...
It's also my changed code so the adoptables grow after a set amount of days instead of certain dates. The one where I've changed it to
- Code: Select all
foreach ($variation->age as $age) {
if (!isset($age['date']) || time()-$row[0] > $age['date']) {
$pickedAge=$age;
}
}
Where $row is an array from my database where I've stored the date, pet id, etc. $row[0] is the UNIX_TIMESTAMP of the adoption date. And I have saved the amount of days as seconds in the adoptables.xml file.
I'm making all this on my computer with XAMPP, so for the time being I don't have any accessible website I could show you.Nevermind. I think I found the culprit. For whatever reason, I had a "date" for the baby picture in one variation, but not the others. So I guess that's why it sometimes worked.