Error saving filename!

Phoca Gallery - image gallery extension
Erik
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 06 Jan 2008, 02:20
Location: Netherlands
Contact:

Yes, there are thumb

Post by Erik »

Yes, there are thumbs!

Erik
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

The problem is, Phoc

Post by Jan »

The problem is, Phoca Gallery checks if there is a thumbnail file and if not, it adds no-pic image to the site....

Please reinstall Phoca Gallery, try to add new images and let me know...

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Please, don't s

Post by Jan »

Please, don't say:

CREATE TABLE `#__phocagallery` is wrong... It is right. See Joomla! Development sites....

If the renaming of #__phocagallery helped you, it is great and it can help other people which have the same problem as you had... but don't say, #__ is wrong because it is right...

This is right: #__some_table, or this: prefix_some_table

So, If you have problems with creating table this way (#__some_table), just take your prefix and add the table manually (prefix_some_table)

See your installation folder in your joomla site, ... there you find sql files with #__

BUT THANK YOU FOR YOUR REPLY, IF IT HELPS OTHER USER, IT IS GREAT,

Jan
If you find Phoca extensions useful, please support the project
Erik
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 06 Jan 2008, 02:20
Location: Netherlands
Contact:

ok, thanx; I ran thi

Post by Erik »

ok, thanx; I ran this SQL script;

Uw SQL-query is succesvol uitgevoerd.
SQL-query:
# --------------------------------------------------------
#
# Table structure for table `#__phocagallery`
#
DROP TABLE IF EXISTS `#_phocagallery` ;# MySQL gaf een lege resultaat set terug (0 rijen).
CREATE TABLE `jos_phocagallery` (
`id` int( 11 ) unsigned NOT NULL AUTO_INCREMENT ,
`catid` int( 11 ) NOT NULL default '0',
`sid` int( 11 ) NOT NULL default '0',
`title` varchar( 250 ) NOT NULL default '',
`alias` varchar( 255 ) NOT NULL default '',
`filename` varchar( 250 ) NOT NULL default '',
`description` text NOT NULL default '',
`date` datetime NOT NULL default '0000-00-00 00:00:00',
`hits` int( 11 ) NOT NULL default '0',
`published` tinyint( 1 ) NOT NULL default '0',
`checked_out` int( 11 ) NOT NULL default '0',
`checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
`ordering` int( 11 ) NOT NULL default '0',
`params` text NOT NULL ,
PRIMARY KEY ( `id` ) ,
KEY `catid` ( `catid` , `published` )
) TYPE = MYISAM CHARACTER SET `utf8` ;# MySQL gaf een lege resultaat set terug (0 rijen).

In my site i get the following result;

"Could not load album data for ..."

What 2 do next??
Erik
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

You cannot run this

Post by Jan »

You cannot run this script with with this prefix. If you run this script e.g. in phpMyAdmin, you must add your prefix instead of # ... because this table doesn't exists (#_phocagallery)... This table must be created: your-prefix_phocagallery (jos_phocagallery e.g.)

Jan
If you find Phoca extensions useful, please support the project
Post Reply