Keyword

Advanced Search

Search Results (Searched for: Re Error SQL)

  • Heiko Palmer
  • Heiko Palmer's Avatar
28 Dec 2011 18:31 - 29 Dec 2011 12:19

After Installation failure unexpected T_OBJECT_OPERATOR

Category: Frontpage Slideshow

Hello,

I installed the Slideshow and then i got the failure :

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/19/d34121408/htdocs/palmerweb/web2012/components/com_fpss/helpers/slideshow.php on line 435

What does it mean ?

HPalli

and now one more big problem. I can't make an admin-login ????? :

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homepages/19/d34121408/htdocs/palmerweb/web2012/administrator/modules/mod_fpss_stats/mod_fpss_stats.php on line 49

Update :

Joomla-Version 1.5.25
PHP-Version 4.4.9
SQL 5.0.91
FPSS 3.0.5
Webserver Apache
Database utf8_general_ci
PHP Connect cgi-fcgi

Please help me. Thank you.
  • Koschny
  • Koschny's Avatar
21 Dec 2011 11:41
FPSS: can`t create new slides was created by Koschny

FPSS: can`t create new slides

Category: Frontpage Slideshow

Hello,
i read the whole forum to find a solution to my error but i cant find any. So i hope you can help.

I bought the FPSS and installed it. When installing, i get the first error:
 
      * Es war nicht möglich die ausgewählte Datei zu kopieren!
        * JInstaller::install: Das Kopieren der Datei "/var/www/web1184/html/matesy/tmp/install_4ef1a8f84ea27/media/com_fpss/samples" nach "/var/www/web1184/html/matesy2/media/com_fpss/samples" ist fehlgeschlagen!

so it say: samples-folder cant be copied to com/fpss/samples....
folder rights are all given!

Then it say installation was correct. When i now try to create a new slide i get:
Fatal error: Call to undefined function: getdate() in /var/www/web1184/html/matesy2/administrator/components/com_fpss/views/slide/view.html.php on line 33

categories can be created, but no new slides.

My joomla infos:
System Information
Check Result

Web server Apache
PHP version 4.4.9-0.dotdeb.1
MySQL version 5.1.57-1~dotdeb.0
GD Image library bundled (2.0.28 compatible)
Upload limit 38M
Memory limit 16M

Permissions
Check Result

media/com_fpss Writable
cache Writable
Modules
Check Result

mod_fpss Installed
mod_fpss_stats (administrator) Installed


Can anyone give me a hint how to integrate the fpss to my site?

Best wishes and many thanks
Marco
  • Christoffer Geijer
  • Christoffer Geijer's Avatar
15 Dec 2011 12:24
No images after update to 3.0.5 was created by Christoffer Geijer

No images after update to 3.0.5

Category: Frontpage Slideshow

After updating to FPSS 3.0.5, the slide show is no longer displayed. I have checked the component and module settings. The category indicates 4 images (from before the update) but these are not listed under "images". The images are present in the "images" subdirectory in the com_fpss directory.

Trying to upload new images, I get the following error message:

FPSSSlide::store failed - Unknown column 'title' in 'field list' SQL=INSERT INTO `fac_fpss_slides` ( `id`,`title`,`catid`,`published`,`publish_up`,`publish_down`,`created`,`created_by`,`access`,`ordering`,`featured`,`featured_ordering`,`text`,`tagline`,`referenceType`,`referenceID`,`custom`,`hits`,`params` ) VALUES ( '0','New1','1','1','2011-12-15 10:16:00','0000-00-00 00:00:00','2011-12-15 10:17:13','978','0','5','0','','','Tagline','custom','','URL','0','useOriginal=\ntitle=\ntext=\ntagline=\ncategory=\nauthor=\nreadmore=\ntarget=\nliveData=\n\n' )


Can anyone advise what's wrong? Thank you very much in advance!
  • Veronique
  • Veronique's Avatar
13 Dec 2011 15:59

Joomla 1.7 uploaded version 2.5.4 admin goes blank

Category: English K2 Community

Hi,

I uploaded succesfully the package but I am not able to log-in at the admin âges. No errors. Just a blank page.
I use a Joomart template with T3 enabled
When I look at the file structure, there are no K2 administrator modules available..
But in the database, tables were created.

The front end works fine but when I log-in at through the front end, I got an SSL protocol error..

Any ideas how to solve this issue?

Can anyone tell me where I can check the SSL settings directly in the sql database?

Thx

Véronique
  • Alen
  • Alen's Avatar
08 Dec 2011 00:23
Replied by Alen on topic [SOLVED] Error in category view.. mysqli

[SOLVED] Error in category view.. mysqli

Category: English K2 Community

I had the same issue and i figure it out why it was showing a warning. What i did to resolve this issue was following. Check under K2 -> users and if u have users there that don't belong to any K2 user groups if so try creating a group and assign user to that group and the warning should go away.

Note that there are 2 columns "Joomla! Group" and "Group" u should look at the second one and if it's empty do the thing i mentioned and u should get rid of the warning.

Hope this helps.
  • Jordan Weinstein
  • Jordan Weinstein's Avatar
07 Dec 2011 23:31
Replied by Jordan Weinstein on topic [SOLVED] Error in category view.. mysqli

[SOLVED] Error in category view.. mysqli

Category: English K2 Community

I have the same issue.
  • Sheri House
  • Sheri House's Avatar
02 Dec 2011 23:37
Replied by Sheri House on topic Installation Error

Installation Error

Category: Simple Image Gallery PRO

I just tried the manual install and ran the SQL:

INSERT INTO `jos_plugins` (`id`, `name`, `element`, `folder`, `access`, `ordering`, `published`, `iscore`, `client_id`, `checked_out`, `checked_out_time`, `params`) VALUES (NULL, 'Simple Image Gallery PRO (by JoomlaWorks)', 'jw_sigpro', 'content', 0, 0, 0, 0, 0, 0, '0000-00-00 00:00:00', 'galleries_rootfolder=images/stories\npopup_engine=jquery_slimbox\nthb_template=Default\nthb_width=200\nthb_height=160\njpg_quality=75\nshowcaptions=1\nenabledownload=1\ncache_expire_time=120\n');


I am getting a pop message: MISSING VALUE IN THE FORM?
  • Jan Zitniak
  • Jan Zitniak's Avatar
02 Dec 2011 09:58
Multi language K2 site error was created by Jan Zitniak

Multi language K2 site error

Category: English K2 Community

Hello everybody.

Somebody meets following error?

TableK2Category: :store failed
Unknown column 'language' in 'field list' SQL=UPDATE `josXXX_k2_categories` SET ...

It happened when I wanted to assign language to any K2 category.
I'm using
Joomla 1.7.3
K2 2.5.3

I see in database that language column in josXXX_k2_categories is missing
Jan
  • Wael Baraja
  • Wael Baraja's Avatar
24 Nov 2011 11:52
Replied by Wael Baraja on topic Installation Error

Installation Error

Category: Simple Image Gallery PRO

dear

i dont understand for step #8

how to run this command in sql


please can i get help


regards
  • Gianluca Ritrovati
  • Gianluca Ritrovati's Avatar
19 Nov 2011 09:20
k2 search return error with other languages was created by Gianluca Ritrovati

k2 search return error with other languages

Category: English K2 Community

Hi! I've installed k2 on joomla 1.7, and set italian as frontend language (Site and Administration, filter language plugin disabled) .

My trouble is that k2 search tool returns an error like this:
 
  • mikodragonfly
  • mikodragonfly's Avatar
13 Nov 2011 15:29 - 15 Nov 2011 17:24

[Solved] DISQUS Comments for Joomla version 3.1 Error

Category: DISQUS Comments for Joomla!

The following error started displaying on my frontend and some backend pages after I installed version 3.1 DISQUS Comments for Joomla.

Warning: Call-time pass-by-reference has been deprecated in /home/xxxx/xxxxx.com/plugins/content/jw_disqus/jw_disqus.php on line 37

Warning: Call-time pass-by-reference has been deprecated in /home/xxxxx/xxxxx.com/plugins/content/jw_disqus/jw_disqus.php on line 37


Could someone please tell me how I need to modify that line?

Joomla Version: Joomla! 1.7.3 Stable
PHP Version: 5.2.17
Database Type: MySQLi
Database Version: 5.1.56-log
  • Miguel Villela
  • Miguel Villela's Avatar
08 Nov 2011 01:48 - 08 Nov 2011 03:34
Replied by Miguel Villela on topic mysqli error - can not view any K2 items (j 1.7)

mysqli error - can not view any K2 items (j 1.7)

Category: English K2 Community

I am getting the same error, so this must be an issue with displaying articles by category.
  • Sara
  • Sara's Avatar
03 Nov 2011 10:02

Converting: J1.5 to 1.7, and Article Manager to K2

Category: English K2 Community

I am also looking for the same advice [1.5.24 to 1.7.2 -- I have purchased SP Upgrade to perform the migration].
I have a 1.7.2 installation that is serving as a test site, where I installed K2 2.5.1, and attempted to import articles/items and I received this error:
"Fatal error: Class 'JSimpleXML' not found in /heXYZes/boXYZeb/weXYZ4/bXYZ7/sXYZnc/public_html/mXYZ172a/administrator/components/com_k2/models/items.php on line 716"

Clicking 'Parameters' [no icon visible BTW] opens a pop-up with this error:
"Fatal error: Call to a member function loadByOption() on a non-object in /heXYZes/boXYZeb/wXYZ4/bXYZ7/sXYZc/public_html/mXYZ172a/administrator/components/com_k2/models/settings.php on line 38"

On the Items tab, I have this error:
"Warning: Invalid argument supplied for foreach() in /heXYZes/boXYZeb/weXYZ34/bXYZ7/slXYZsdanc/public_html/mplXYZ172a/administrator/components/com_k2/views/items/tmpl/default.php on line 112"

On the Users tab, I have this error:
"Warning: Invalid argument supplied for foreach() in /heXYZes/boXYZeb/weXYZ4/bXYZ7/slXYZsdanc/public_html/mpXYZj172a/administrator/components/com_k2/models/users.php on line 222"

The three (3) K2 plug-in's are enabled: system, search, users

I will continue to search the Forum in case this was already addressed (didn't find it in a search).

Also, is there a calendar within K2, or is that a 3rd party extension (displayed in demo)? I am currently using JEvents but willing to switch if one is incorporated in K2 already.

My System Info:
Web Server Apache/2
PHP version 5.2.17
MySQL version 5.0.91-log
GD image library bundled (2.0.34 compatible)
Multibyte string support Enabled
Upload limit 8M
Memory limit 64M
Open remote files (allow url fopen) Yes
  • Trishah
  • Trishah's Avatar
01 Nov 2011 21:48 - 01 Nov 2011 23:13

Warning With First Install of K2 Store

Category: English K2 Community

This is my first install of K2 and K2 Store. I have K2 installed and I got the Blog working on the front end which is what I wanted.

Now I want to add the store. I unzipped the current component and used the install manager as usual. It says that it was installed properly... all except this one error.

Warning: Invalid argument supplied for foreach() in /home/trishah/public_html/libraries/joomla/database/database/mysql.php on line 678

This relates to the last function on this page which I have shown below. Is this something I need to fix? If so, how?

UPDATE: I have tried to create my first product and there is no Buy Now button. I have gone over all the instructions several times and cannot find the problem. Could the above error have caused this?
 function getTableFields( $tables, $typeonly = true ) { settype($tables, 'array'); //force to array $result = array(); foreach ($tables as $tblval) { $this->setQuery( 'SHOW FIELDS FROM ' . $tblval ); $fields = $this->loadObjectList(); if($typeonly) { [b]Line 678:[/b] foreach ($fields as $field) { $result[$tblval][$field->Field] = preg_replace("/[(0-9)]/",'', $field->Type ); } } else { foreach ($fields as $field) { $result[$tblval][$field->Field] = $field; } } } return $result; } }
  • dewinky
  • dewinky's Avatar
01 Nov 2011 03:31

Installed FSS 3.03 and getting errors with joomla 1.72

Category: Frontpage Slideshow

Seeing errors in the component panel, unable to load samples and create categories:

Warning: Invalid argument supplied for foreach() in /hermes/bosweb/web091/b911/ipg.deusermaster1/love4ed/administrator/components/com_fpss/views/slides/view.html.php on line 51

Warning: Invalid argument supplied for foreach() in /hermes/bosweb/web091/b911/ipg.deusermaster1/love4ed/administrator/components/com_fpss/views/slides/tmpl/default.php on line 62

After trying to create category:
FPSSCategory: :store failed
Unknown column 'ordering' in 'field list' SQL=INSERT INTO `jml_fpss_categories` (`id`,`name`,`published`,`ordering`,`language`,`params`) VALUES ('','New Articles','1','','*','{\"imageWidth\":\"500\",\"imageQuality\":\"90\",\"thumbWidth\":\"100\",\"thumbQuality\":\"75\",\"previewWidth\":\"900\",\"previewQuality\":\"90\",\"title\":\"1\",\"text\":\"1\",\"tagline\":\"1\",\"category\":\"1\",\"author\":\"1\",\"readmore\":\"1\",\"target\":\"_self\",\"liveData\":\"1\"}')
  • Bethany Amborn
  • Bethany Amborn's Avatar
31 Oct 2011 15:47
mysqli error - can not view any K2 items (j 1.7) was created by Bethany Amborn

mysqli error - can not view any K2 items (j 1.7)

Category: English K2 Community

I am building a new site in Joomla 1.7, and I am getting an error in K2 that will not allow me to view the articles in the category.

Link to see the error: knowndonorregistry.com/index.php/articles/itemlist/category/5-how-to

Error:
Warning: mysqli_close() [function.mysqli-close]: Couldn't fetch mysqli in /home/knowndon/public_html/libraries/joomla/database/database/mysqli.php on line 148

Does anyone know what this is or how to fix it? I really need K2 for this site...
  • William Gollinger
  • William Gollinger's Avatar
28 Oct 2011 19:53 - 28 Oct 2011 19:54
Replied by William Gollinger on topic Accessing K2 rating information

Accessing K2 rating information

Category: English K2 Community

Success!! :D It must have been the quote thing, because now I'm getting output "Item ID is : 27"! Thank you so much :D:D:D

Let it be known (in case anyone out there hasn't noticed) that SQL is a HUGE pain in the neck if you don't get the syntax right!

Here's the working code for reference:
<?php //don't allow other scripts to grab and execute our file defined('_JEXEC') or die('Direct Access to this location is not allowed.'); jimport('joomla.application.component.model'); JTable::addIncludePath(JPATH_COMPONENT_ADMINISTRATOR.DS.'tables'); $db = & JFactory::getDBO(); $query = 'SELECT * FROM #__k2_rating WHERE '.$db->nameQuote('itemID').'=27'; $db->setQuery($query); $row = $db->loadObject(); if(!$row){ $itemID = 'ERROR'; } else{ $itemID = $row->itemID; } echo "Item ID is : " . $itemID; ?>
And the output is "Item ID is : 27"

(Thanks again!)
  • johan
  • johan's Avatar
28 Oct 2011 14:30
instlacion k2 v 2.2 was created by johan

instlacion k2 v 2.2

Category: Comunidad hispana oficial de K2

Hola!

Quisiera saber por que ocurre este error en la instalacion del componente k2 v 2.2.

Warning: Invalid argument supplied for foreach() in Home...........\mysql.php on line 676

trabajo con la version de joomla 1.5.8

gracias.
  • Marc
  • Marc's Avatar
28 Oct 2011 02:48 - 28 Oct 2011 03:02
Upgraded to 1.6.6 and K2 2.51 was created by Marc

Upgraded to 1.6.6 and K2 2.51

Category: English K2 Community

I've just finished upgrading and used jupgrade. I still have the upgrade sitting in the jugrade folder while I set up the template.

Still after the upgrade I cannot get the frontend submititem menu working. The add link from the profile works well. I also have the menu set up as render. Not sure if it matters, but I'm with Bluehost.

I have checked the SQL database and have the following link for the menu item

index.php?option=com_k2&view=item&layout=itemform&task=add

The params are

{"theme":"default","category":"2","menu-anchor_title":"","menu-anchor_css":"","menu_image":"","menu_text":1,"page_title":"","show_page_heading":0,"page_heading":"","pageclass_sfx":"","menu-meta_description":"","menu-meta_keywords":"","robots":"","secure":0}

Is there anything else I can check? Getting 404 error component not found.

Thanks
  • Kingkong
  • Kingkong's Avatar
21 Oct 2011 12:07
FPSS installer error was created by Kingkong

FPSS installer error

Category: Frontpage Slideshow

Hi,
I get installer error in Joomla 1.5.23 trying to install FPSS, see details belowJInstaller::install: SQL Error. DB function failed with error number 1005
Can't create table 'jos_fpss_categories' (errno: 13) SQL=CREATE TABLE IF NOT EXISTS `jos_fpss_categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `published` tinyint(1) unsigned NOT NULL, `ordering` int(11) NOT NULL, `language` char(7) NOT NULL, `params` text NOT NULL, PRIMARY KEY (`id`), KEY `published` (`published`), KEY `ordering` (`ordering`), KEY `language` (`language`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SQL = CREATE TABLE IF NOT EXISTS `jos_fpss_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `published` tinyint(1) unsigned NOT NULL,
  `ordering` int(11) NOT NULL,
  `language` char(7) NOT NULL,
  `params` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `published` (`published`),
  KEY `ordering` (`ordering`),
  KEY `language` (`language`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;
Component Install: SQL error or missing or unreadable SQL file. DB function failed with error number 1005
Can't create table 'jos_fpss_categories' (errno: 13) SQL=CREATE TABLE IF NOT EXISTS `jos_fpss_categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `published` tinyint(1) unsigned NOT NULL, `ordering` int(11) NOT NULL, `language` char(7) NOT NULL, `params` text NOT NULL, PRIMARY KEY (`id`), KEY `published` (`published`), KEY `ordering` (`ordering`), KEY `language` (`language`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
SQL = CREATE TABLE IF NOT EXISTS `jos_fpss_categories` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `published` tinyint(1) unsigned NOT NULL,
  `ordering` int(11) NOT NULL,
  `language` char(7) NOT NULL,
  `params` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `published` (`published`),
  KEY `ordering` (`ordering`),
  KEY `language` (`language`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8;
Displaying 601 - 620 out of 793 results.