eleavings
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Img Upload Flash Effect causes logout in WP3b1Alex,
Was my fault. I did not realize how strict the admonishment was about image size :-).
In the “Note” it says image size should not exceed 1600X1200.
I was trying to upload an image of 1608X1200. I reduced it to 1589X1200 and upload with flash works fine now.
Also, after the nightly build yesterday the log out problem stopped.
Now, if the image size is too big I get a proper error about memory.
Thanks,
EForum: Plugins
In reply to: [Plugin: NextGEN Gallery] Upgrade loopI should mention the install also failed to create the necessary tables in the database.
So in total, I inserted one record into wp_options and created three tables.
Assuming you prefix your tables with wp_ the 3 sql statements would be like this:
INSERT INTO wp_options (
option_id, blog_id, option_name, option_value, autoload
)
VALUES (
NULL , ‘0’, ‘ngg_db_version’, ‘1.4.3’, ‘yes’
);CREATE TABLE wp_ngg_pictures (
pid BIGINT(20) NOT NULL AUTO_INCREMENT ,
post_id BIGINT(20) DEFAULT ‘0’ NOT NULL ,
galleryid BIGINT(20) DEFAULT ‘0’ NOT NULL ,
filename VARCHAR(255) NOT NULL ,
description MEDIUMTEXT NULL ,
alttext MEDIUMTEXT NULL ,
imagedate DATETIME NOT NULL DEFAULT ‘0000-00-00 00:00:00’,
exclude TINYINT NULL DEFAULT ‘0’ ,
sortorder BIGINT(20) DEFAULT ‘0’ NOT NULL ,
meta_data LONGTEXT,
PRIMARY KEY pid (pid),
KEY post_id (post_id)
);CREATE TABLE wp_ngg_gallery (
gid BIGINT(20) NOT NULL AUTO_INCREMENT ,
name VARCHAR(255) NOT NULL ,
path MEDIUMTEXT NULL ,
title MEDIUMTEXT NULL ,
galdesc MEDIUMTEXT NULL ,
pageid BIGINT(20) DEFAULT ‘0’ NOT NULL ,
previewpic BIGINT(20) DEFAULT ‘0’ NOT NULL ,
author BIGINT(20) DEFAULT ‘0’ NOT NULL ,
PRIMARY KEY gid (gid)
);CREATE TABLE wp_ngg_album (
id BIGINT(20) NOT NULL AUTO_INCREMENT ,
name VARCHAR(255) NOT NULL ,
previewpic BIGINT(20) DEFAULT ‘0’ NOT NULL ,
albumdesc MEDIUMTEXT NULL ,
sortorder LONGTEXT NOT NULL,
pageid BIGINT(20) DEFAULT ‘0’ NOT NULL,
PRIMARY KEY id (id)
);Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Upgrade loopI am using the WordPress 2.9-beta2 (single site, single user) and did a clean install of NextGen 1.4.3. I got stuck in this loop first time.
Simplistik’s solution was a life saver. Indeed the ngg_db_version was missing from the wp_options table. And indeed in the nggallery.php file, the dbversion was set to 1.4.0 instead of 1.4.3.
After making sure both the file and the db table contain the 1.4.3 entry everything started to work fine.
Thank you, Simplistik!