126

(18 replies, posted in Discuss)

If they weren't lame and coded for MySQL only, I might've recommended Vanilla :|

127

(18 replies, posted in Discuss)

You sure you wouldn't rather run something more feature-full as a discussion board? PunBB is pretty nice.

In any case, what you described should be doable strictly via stylesheets, so I'll play around with it...

128

(33 replies, posted in Support)

Hmm. I don't know dreamhost well enough to hazard a guess why the hacks to get 7hs up and running are not working for you; maybe they have different configs across different servers?

I take it the default install didn't work, and that's why you tried to hacks mentioned above?

Do you get any output if you put the following into index.php (after the $path_parts = explode line):

var_dump($path_parts);exit;

129

(18 replies, posted in Discuss)

kaa wrote:

Not sure if this is appropriate for this script. But is it possible to run the script as just a message board? (basically, a PHP version of Kareha).

Feature-wise, yup, it could. Out of the box, even.

However, the layout is really geared towards the display of images, so if you wanted a discussion-only solution, then you might want to tweak images.tmpl to make it more text-friendly, and maybe remove the file inputs on the post forms.

130

(17 replies, posted in Support)

Here's the mysqldump output of the conversion of your database:

http://ochiba.x-maru.org/muchan.mysql.gz

G'luck!

131

(17 replies, posted in Support)

Truly bizarre stuff. I just did a "fresh" install of 0.9.3, but dropped your database and it seems to work fine (other than all the thumbs and images not being there). Some other things to try, if you feel like:

* Try using a different name for the database (muchan.sqlite, for example) and adjust the DB paramter in conf.php- maybe the "ochiba.sqlite" is poisoned somehow
* Restart the apache process if you are able (might be that it has a stale connection to it that needs to be released)
* Restart the server if possible (again, clear away stale locks)
* Roll back to ochiba 0.9.2

I'll play around with a conversion to an importable Mysql file when I get a chance.

132

(17 replies, posted in Support)

http://ochiba.x-maru.org/muchan.zip
This contains the dump file, and a rebuilt database (named muchan.sqlite). Let me know once you've grabbed it so I can remove it.

You should be able to build a import script for mysql from the dump file...

133

(17 replies, posted in Support)

Well, at this point, I'm starting to think the database file got corrupted somehow (whether this has to do with the upgrade, I'm not sure - I can't think of why, though). Apparently, this happens sometimes with SQLite and no answers seem obvious.

Do you have a backup? Can you send me the file in question I can see about rebuilding it.

134

(17 replies, posted in Support)

Can you try replacing functions.php with that from version 0.9.2? This should help narrow it down to PEAR::DB if that's the case...

135

(2 replies, posted in Support)

I take it this is in install.php? Did you manually install either IT.php or DB.php, or are you using the system installs of them?

The only thing I can think of is that the install.php script does a "require_once" on both IT.php and DB.php, both of which are PEAR packages, and if you manually installed one or the other (or both), there could be a problem.

136

(17 replies, posted in Support)

Also, is the database file on an NFS volume by any chance?

137

(17 replies, posted in Support)

Hmm. Did your provider upgraded sqlite recently? Can you check the output of phpinfo() and see what version of the sqlite library is in use?

138

(17 replies, posted in Support)

This is really odd. Can you create a file called test.php as follows:

<?php
define("DB","sqlite:////home/.taily/muchan/db/ochiba.sqlite");
require("DB.php");
$db = DB::connect(DB);
if(DB::isError($db)) {
    die($db->getDebugInfo());
}
$result = $db->getAll("select * from categories");
if(DB::isError($result)) {
    die($result->getDebugInfo());
} else {
    var_dump($result);
}
?>

and then load that in your browser? What is the output? What is the output of pear info DB from a shell?

139

(17 replies, posted in Support)

Whoa. I don't know to make of that. Could you try

define("DB","/home/.taily/muchan/db/ochiba.sqlite");

and hit install.php again? It's supposed to recognize the old form as being SQLite.

140

(17 replies, posted in Support)

This can happen if there is a database problem - can you double check the database string is correct? There was a format change with 0.9.3, so perhaps that's what causing the trip up (notably - sqlite DB strings should have 4 slashes at the beginning:

define("DB","sqlite:////path/to/my/sqlite.db");

Also, try running install.php - see if there is a more informative error there.

141

(6 replies, posted in Support)

That's peculiar. Can you try the following:

* Set TRIPCODE_SECRET to arraba's ochiba
* Set ADMINS to zGDrRA2Qf0
* Go to /admin and use the tripcode log me in

Does that work?

142

(6 replies, posted in Support)

Oops, sorry, I meant ADMINS. So, in the example given, it would be:

define("ADMINS","gFFo9WjUU4");

143

(6 replies, posted in Support)

[Sorry for not responding sooner - I was out of town this past week]

I'm puzzled as to what could be happening. The steps should be:

* Go to http://your.site/ochiba/admin
* Type in a tripcode (for example "this is my tripcode")
* You will get an error that the tripcode "gFFo9WjUU4" (just an example) is invalid.
* In conf.php, you set ADMIN_TRIPCODE to "gFFo9WjUU4" (what the string was in your case).
* Reload /admin - it should now present you with the admin stuff (you are logged in)

Can you indicate which step this appears to be going wrong?

144

(0 replies, posted in News)

Ochiba version 0.9.3 - Now for the teeming masses!

This version introduces the use of database abstraction to provide compatibility with SQLite, PostgreSQL, and MySQL (and perhaps other PEAR:: DB supported databases).

Also added: a slideshow feature that is available on any ochiba page to invoke a slideshow of that page's images.

Please read the http://ochiba.x-maru.org/notes release notes for details.

145

(0 replies, posted in News)

The original site design was just a quickie, to have something for when I was ready to release code. I finally got around to doing something proper about it. I think it looks much nicer :).

As usual, IE leaves something to be desired in adhering to standards-based CSS, so if you are using IE, then the effect is diminished. You should try some other browser- c'mon, it's 2005 already.

146

(4 replies, posted in News)

glitch where search doesn't work in popup mode

That was one of the glitches. The other notable one was pagination in keyword/search queries was broken (didn't paginate according to new category filtering).

So, nothing as far as crashing bugs, but I would recommend upgrading, especially since I'm so slow between releases :-|.

147

(4 replies, posted in News)

OK, it's been re-released. Sorry about the fubar - please download again if you downloaded it before the time of this post.

148

(4 replies, posted in News)

Whoops - discovered a couple of sneaky bugs, so I've retracted 0.9.2 for the moment.

149

(4 replies, posted in News)

This is a major revision, with numerous enhancements focused on end user interface, including: a user preferences system, timestamp adjustment according to user timezone setting, alternative "popon" interface, stylesheet selection for users, pre-verification of posts when CAPTCHA is used, and an upgraded search/keyword system that can now restrict by category.

Many of these new features use CSS/Javascript that may not be compatible with older browsers. They have been tested successfully with Gecko, Safari, and IE6.

Note for upgrading: nearly all files have changed. Please read UPGRADE.txt for upgrading notes.

150

(18 replies, posted in Discuss)

Odd. Where did you add the lines? They should go in display(), like right after line 159 (which should be the FOOTER line).