Page 1 of 2

3.0 RC - Not saving Descriptions

Posted: 18 Jan 2011, 21:38
by decadre
Hello,

I'll try to keep this brief and to the point;

Running Joomla 1.6 RC and Phocagallery 3.0 RC.

Any description info that I enter into either the Image or Category description field will fail to save whenever I press any of the SAVE buttons.

In other Joomla modules, this doesn't seem to be a problem.

If I manually enter something for the description into the description field in my SQL database, the information will display in Phocagallery if I setup my gallery to show the description.

Re: 3.0 RC - Not saving Descriptions

Posted: 18 Jan 2011, 22:24
by Benno
Hi,
I can't confirm this issue. Here this works.... :idea:
Kind regards,
Benno

Re: 3.0 RC - Not saving Descriptions

Posted: 18 Jan 2011, 22:25
by Jan
Hi, do you get some error there?

When you enable debug mode, is there some message?

Re: 3.0 RC - Not saving Descriptions

Posted: 18 Jan 2011, 22:53
by decadre
The only error I see at all displays after I save a new category or image entry, OR click on an existing category or image entry. If I create a new entry and select SAVE & NEW, or SAVE & CLOSE, I do not see this error. Otherwise, nothing else to indicate that anything is amiss other than the fact that anything entered into the description field never saves. NOTE: Something else that I've noticed is that I can't enter anything into the GEO TITLE field. It seems to be locked. I can seem to give it focus, but any keypresses will not result in anything being displayed in the field.

Errors
The database row is empty.

Information

Backtrace

Re: 3.0 RC - Not saving Descriptions

Posted: 18 Jan 2011, 23:21
by Jan
Hi,

Geo Title ... confirmed, some problem there, I will take a look at it.

But I am trying to test the saving and no problem there :-( :idea: :idea:

The error should be done by this code in Joomla!

Code: Select all

// Check that we have a result.
		if (empty($row)) {
			$e = new JException(JText::_('JLIB_DATABASE_ERROR_EMPTY_ROW_RETURNED'));
			$this->setError($e);
			return false;
		}
libraries\joomla\database\table.php
Somehow it cannot load a row, will do some tests :idea:

Do you get the same with Joomla! 1.6 stable?

Re: 3.0 RC - Not saving Descriptions

Posted: 18 Jan 2011, 23:39
by decadre
What do you mean by Joomla 1.6 stable?

Re: 3.0 RC - Not saving Descriptions

Posted: 18 Jan 2011, 23:48
by decadre
I manually entered a description into one of my categories, and that error did not go away.

What file is the update and add connection strings located in. Perhaps I can just make sure for whatever reason, that the tables listed match the tables created in my database?

Re: 3.0 RC - Not saving Descriptions

Posted: 19 Jan 2011, 14:22
by Jan
Hi, if the tables or columns will not match your database, then you get an error from database while debug mode is enabled. But you didn't get any such error :-( so seems the columns and tables match the database :-(

Maybe try to reinstall Joomla! and Phoca Gallery ???

Re: 3.0 RC - Not saving Descriptions

Posted: 20 Jan 2011, 17:28
by decadre
Ok I will give fresh installs a shot, as I haven't really done anything with the website yet.

And pardon the length of time between posts, it's been hard to get onto this forums as of late.

Re: 3.0 RC - Not saving Descriptions

Posted: 20 Jan 2011, 22:00
by decadre
OK...

Reinstall has worked and corrected the problem, and I am able to break it again.

Simply go into the Joomla User settings, and set the editor to CodeMirror. I don't have a clue as to why I did this, but...

Once I do, all of the description text fields throughout the Joomla site become simply plain vanilla rectanguler textbox fields with no editing controls visible (IE; text formating, bullets lists, text align, etc). I don't know if this is how it is supposed to be or not however.

And, for whatever reason when I do this, any text entered into the description field in PhocaGallery doesn't save, however it will save for some reason within the main Joomla site.