NineChime forum

Furry stuff, oekaki stuff, and other stuff.

You are not logged in.

#1 07-09-2008 12:18:39

Pandalocity
Member

Unable to save image while uploading.

When I was doing final tests to my oekaki, I received this error when trying to submit an image.

"Unable to save image.

Please try again or take a screenshot of your picture,

SendE"

Does anyone know what's wrong?

I, not knowing what to do, opened the error log, and here is what I got.

Code:

<?php
/*
OekakiPoteto 5.x ©Copyright 2000-2002 RanmaGuy (Theo Chakkapark, http://suteki.nu) and Marcello Bastéa-Forte (http://marcello.cellosoft.com). Modification to the files are permitted as long as my name remains on the files.

Wacintaki Poteto modifications ©Copyright 2004-2007 Marc "Waccoon" Leveille
http://www.NineChime.com/products/
Version 1.3.8 - Last modified 7/8/2007
*/


// Load bootstrap
define ('BOOT', 1);
require ('boot.php');

// Input
$s = w_gpc('s', 'i');
$error = w_gpc('error', 'raw');


// Type of header?
if ($s) {
    echo <<<EOF
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-type" content="text/html; charset={$charset}">
    <meta http-equiv="Content-language" content="{$metatag_language}">

    <link rel="stylesheet" type="text/css" href="{$cssinclude}" title="{$template_name}">
</head>


<body>
<br />


EOF;
} else {
    include ('header.php');
}


?>
<div id="contentmain">

    <h1 class="header">
        <?=$langop_word_error?> 
    </h1>

    <div class="infotable">
        <div align="center">
            <?php echo w_html_chars ($error)."\n"; ?>
            <br />
            <br />
<?php
if ($s) {
    echo '<a onclick="javascript: window.close();" href="#">'.$langop_common_window."\n";
} else {
    echo $langop_error_goback."\n";
}
?>
        </div>
    </div>
</div>


<?php

if ($s) {
    mysql_close ($dbconn);
    echo "</body>\n</html>\n";
} else {
    include ('footer.php');
}
?>

I didn't know how to make heads or tails of this, so I'm not sure as to what to do.

Afterwords, I went to go and try to see if upload worked, I soon learned that the post comes up on the board, but not the image itself.

If it helps at all, the I am using free-site-host.com as a host for my oekaki.

Last edited by Pandalocity (07-09-2008 18:13:18)

Offline

#2 07-10-2008 04:02:15

Waccoon
Administrator

Re: Unable to save image while uploading.

If the oekaki applets and file uploads don't work, that might mean the permissions on the pictures folder are wrong.

Log in as the board owner, and near the beginning of the "Owner:" menu, select the Diagnostics page.  Check the "Locks" section.  Let me know if anything is labeled as "locked".

You can also try looking at the Log, from the "Admin:" menu.  It might not give you any other useful information, but it's worth a look.

Offline

#3 07-10-2008 12:25:15

Pandalocity
Member

Re: Unable to save image while uploading.

I went to the diagnostics page and it said that everything was OK. So I'm not sure as to what to do.

Offline

#4 07-11-2008 04:56:11

Waccoon
Administrator

Re: Unable to save image while uploading.

I'm afraid you'll either have to find a different host, or upgrade your hosting to a paid plan.  Their FAQ explains why:

1.3 Is PHP safe mode on?

Yes, for the security of our own users we have PHP safe mode enabled, please signup for our paid hosting to recieve hosting WITHOUT safemode restrictions.

Safe mode means files cannot be written by PHP, which means file uploads will not work.

Offline

#5 07-11-2008 15:56:19

Pandalocity
Member

Re: Unable to save image while uploading.

Ah,  I see, I should have read the f.a.q.
DO you have any suggestions for free web hosts that would be suitable for hosting oekakis?

Offline

#6 07-12-2008 05:16:14

Waccoon
Administrator

Re: Unable to save image while uploading.

I pay for my hosting, so I don't have any direct recommendations.  However, there is a thread about this on the forum:  A list of free hosts for oekaki

Offline

Board footer

Yep, still running PunBB
© Copyright 2002–2008 PunBB