3.0 RC - Not saving Descriptions

Phoca Gallery - image gallery extension
decadre
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Jun 2009, 21:35

3.0 RC - Not saving Descriptions

Post 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.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: 3.0 RC - Not saving Descriptions

Post by Benno »

Hi,
I can't confirm this issue. Here this works.... :idea:
Kind regards,
Benno
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 3.0 RC - Not saving Descriptions

Post by Jan »

Hi, do you get some error there?

When you enable debug mode, is there some message?
If you find Phoca extensions useful, please support the project
decadre
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Jun 2009, 21:35

Re: 3.0 RC - Not saving Descriptions

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 3.0 RC - Not saving Descriptions

Post 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?
If you find Phoca extensions useful, please support the project
decadre
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Jun 2009, 21:35

Re: 3.0 RC - Not saving Descriptions

Post by decadre »

What do you mean by Joomla 1.6 stable?
Last edited by decadre on 19 Jan 2011, 00:23, edited 1 time in total.
decadre
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Jun 2009, 21:35

Re: 3.0 RC - Not saving Descriptions

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: 3.0 RC - Not saving Descriptions

Post 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 ???
If you find Phoca extensions useful, please support the project
decadre
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Jun 2009, 21:35

Re: 3.0 RC - Not saving Descriptions

Post 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.
decadre
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Jun 2009, 21:35

Re: 3.0 RC - Not saving Descriptions

Post 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.
Post Reply