Keyword

Advanced Search

Search Results (Searched for: Re Error SQL)

30 Oct 2012 18:13

[Solved] This is not an image file - ERROR!

Category: Frontpage Slideshow

Thanks for the fast reply. I have set the permissions correctly but here is what i get under the FPSS Information tab.
Web server nginx/1.1.19
PHP version 5.3.10-1ubuntu3.4
MySQL version 5.5.24-0ubuntu0.12.04.1
GD Image library FPSS_DISABLED

do you know how I can enable the GD Image library ?

Thanks Again.
  • Lefteris
  • Lefteris's Avatar
30 Oct 2012 17:15
Replied by Lefteris on topic SQL syntax Error with K2

SQL syntax Error with K2

Category: English K2 Community

The query is not coming from K2 ( it's not present at K2 2.6.1). Probably other extensions are causing this. Search for K2 related extensions and try to disable them.
  • Tolulope Oyebola
  • Tolulope Oyebola's Avatar
29 Oct 2012 22:25
Replied by Tolulope Oyebola on topic SQL syntax Error with K2

SQL syntax Error with K2

Category: English K2 Community

Hello,

Table prefix is very correct sir.
  • Kolio Kolev
  • Kolio Kolev's Avatar
27 Oct 2012 07:36

How to replace whitespace with dash in tag SEF URL

Category: English K2 Community

Hello,

Last month I bought K2mart 2.0.2 and Simple Image Gallery Pro and have started to design an online shop.

I can't find information in documentation or forums, so I need your
help, please!

The website is running under the following software:
Apache 2.2.22
MySQL 5.0.92-50-log
PHP 5.2.17
Joomla 2.5.7
K2 2.5.7 (latest version 2.6.1 throws an error in product pages)
K2mart 2.0.2
Virtuemart 2.0.10f
Simple Image Gallery Pro (by JoomlaWorks) 2.5.8
XMap 2.2.1
Maximenu CK and more...

I have many tags consisted by 2 or even 3 words, but K2 generates me
SEF addresses with whitespaces in them. How could I swap these spaces
with dashes?

Example:
new.simoco-sport.com/обувки/мъжки/маратонки/itemlist/tag/Grand Attack.html

It should be:
new.simoco-sport.com/обувки/мъжки/маратонки/itemlist/tag/Grand_Attack.html

Thank you in advance!
  • Lefteris
  • Lefteris's Avatar
26 Oct 2012 16:39
Replied by Lefteris on topic SQL syntax Error with K2

SQL syntax Error with K2

Category: English K2 Community

Hi. Ensure that the table prefix is the correct one ( check this under Joomla! configuration).
  • Tolulope Oyebola
  • Tolulope Oyebola's Avatar
26 Oct 2012 09:52
SQL syntax Error with K2 was created by Tolulope Oyebola

SQL syntax Error with K2

Category: English K2 Community

Hello,

I'm trying to update my site so i created from scratch afresh. I exported my old database to the new one i'm using for the new site installation.

All other components work well except for K2 Blog. it keeps giving me SQL syntax errors. eg:
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '20,26,137,34,35,130' at line 1 SQL=SELECT ordering AS value, title AS text FROM husrm_k2_items WHERE catid=16,20,26,137,34,35,130"

Any help o resolve this please as it doesnt allow k2 to work well on the new site.

Regards

Tolu
  • Dave
  • Dave's Avatar
26 Oct 2012 02:08
Problems installing was created by Dave

Problems installing

Category: English K2 Community

I am a complete newbie and can't seem to install K2. I'm not sure what I am doing wrong but I get these errors when trying to install. I'm using Joomla 2.5, can someone help?

Thank you for installing K2 by JoomlaWorks, the powerful content extension for Joomla!

Warning: Invalid argument supplied for foreach() in /home/content/35/9034835/html/libraries/joomla/database/database/mysql.php on line 375

Warning: Invalid argument supplied for foreach() in /home/content/35/9034835/html/libraries/joomla/database/database/mysql.php on line 375

Warning: Invalid argument supplied for foreach() in /home/content/35/9034835/html/tmp/install_5089edd2d2cef/script.k2.php on line 192

Warning: Invalid argument supplied for foreach() in /home/content/35/9034835/html/tmp/install_5089edd2d2cef/script.k2.php on line 213

Warning: Invalid argument supplied for foreach() in /home/content/35/9034835/html/libraries/joomla/database/database/mysql.php on line 375
  • Mohamed Osman
  • Mohamed Osman's Avatar
24 Oct 2012 14:03
Solved: Upgrade to 2.5.7 with no errors was created by Mohamed Osman

Solved: Upgrade to 2.5.7 with no errors

Category: English K2 Community

Hello,

it's my first article over here and i wanted to describe how to upgrade your (Powered by k2 ) website
and i already tried this method in a joomla website which have more than 20,000 article in k2 items and it succeed well. so let's go.


* THIS IS A MANUAL WAY TO UPGRADE YOUR K2 COMPONENT AND WE WILL USE MYSQL QUERIES
* REQUIREMENTS:
1)AKEEBA BACKUP [ Download ]

2)ADMIN TOOLS [ Download ]

3)ADMINER 3.6.1 [ Download ]

4)FRESH COPY OF JOOMLA 2.5.7 [ Download ]
5) A CUP OF TEA WILL HELP YOU ;)

* YOU DON'T NEED SO MUCH PROGRAMMING SKILLS TO APPLY THIS TO YOUR SITE BUT I STRONGLY RECOMMEND TO BACKUP YOUR DATABASE AND FILES USING AKEEBA BACKUP AND STAY AWAKE WHILE THE UPGRADE PROCESS.



Firstly : i like to describe the condition
Now you have your old website usually it's a joomla 1.5.25 please upgrade if older
1) go to your old site administrator area and install akeeba backup and admintools via [install/unistall]
2) backup your site using akeeba backup
3) go to [components / admin tools / Database table prefix editor]
4) in the New prefix field write any 3 or 4 digits ( numbers or letters or both ) ends with underscore _ and remember it for example i will use ( os25_ )

5) Create a new empty database using the same username of the old database
6) Go to your website's root directory and create a folder named for example [ Upgraded ]
7) install your fresh copy of joomla 2.5.7 into this directory using database in step [ 1 ] and while installation you will be notified what the New prefix for the new site is, so change it to be the same like your old site.
8) then install k2 component in the fresh copy of joomla.
9) inside the [Upgraded] directory create another directory called [adminer] and upload the adminer files after extracting it from the downloaded archive.
10) access the [adminer] script and you will find it at ( http:www.yoursite.com/Upgraded/adminer ) and enter you [database name,username and password].
11) after successful login you will see in the left area of the adminer script a drop down list contains your databases the old and the new one [this is at least] but ( you may see other databases... just ignore ).
12) choose the new one and select all k2 tables and drop them i]select tables and scroll to the bottom of the page to find a drop button[/i.
13) go to your old database and select all k2 tables and scroll down to find a copy command
- select your new database and press copy.
14) open to your new database ( also using adminer ) and press ( SQL command ) in the left area.
15) you will see a big text area put these command lines below and press execute ( one command line per time )



* Attention
- OLD_ID is the id of the user from the old site ( this may be more than one if so repeat this line for each user ) you can find it in the old site's [user manager] in administrator area.
- NEW_ID is the id of the user from the new site ( this the new fresh site super admin's id ) you can find it in the new fresh site's [user manager] in administrator area too.
- PREFIX is the PREFIX of the tables of the new site it is the same like old as we said.

First command line :-
 
  • Johann Scharfetter
  • Johann Scharfetter's Avatar
22 Oct 2012 20:47 - 22 Oct 2012 21:39
K2 + extra fields in falang OR Joomfish was created by Johann Scharfetter

K2 + extra fields in falang OR Joomfish

Category: English K2 Community

Hello,

I'd like to translate my extra fields with Falang (I think it is practicly the same as with joomfish).
How to I do this? I imagin I have to modify k2_items_xml - file, right?

Or do I have to create a extra xml-file. I wonder how it works with several Extra Fields Groups.

This is the content of k2_items.xml - file. I tried to add extra fields, but without success.
 No valid database connection: DB function failed with error number 1054
Unknown column 'c.fulltextaaa' in 'field list' SQL=SELECT c.id, c.title, c.introtext, c.fulltext, c.fulltextaaa, c.image_caption, c.image_credits, c.video_caption, c.video_creditsss, c.extra_fields, c.extra_fields_search, c.metakey, c.metadesc, jfc.id as jfc_id, jfc.value as titleTranslation, jfc.modified as lastchanged, jfc.published as published, jfc.language_id, jfl.title as language, jfc.reference_id as jfc_refid FROM mare_k2_items as c LEFT JOIN mare_falang_content as jfc ON c.id=jfc.reference_id AND jfc.reference_field='title' AND jfc.reference_table='k2_items' AND jfc.language_id=4 LEFT JOIN mare_languages as jfl ON jfc.language_id=jfl.lang_id ORDER BY c.title LIMIT 0, 20

Help is very appreciated.

Thank you!
  • 24bit
  • 24bit's Avatar
21 Oct 2012 09:09
Unable to create catagories was created by 24bit

Unable to create catagories

Category: English K2 Community

Hi im running Joomla 2.5.7 and are having issues creating catagories.
I get the below error.
 
  • mimi72
  • mimi72's Avatar
16 Oct 2012 08:52
Replied by mimi72 on topic Error: 500 SQL=SHOW FULL COLUMNS

Error: 500 SQL=SHOW FULL COLUMNS

Category: English K2 Community

Please someone can tell me sometthing, io´m working a new project and need K2 for the products and client want joomla 3.01... i´m blocked...
  • mimi72
  • mimi72's Avatar
16 Oct 2012 07:53
Error: 500 SQL=SHOW FULL COLUMNS was created by mimi72

Error: 500 SQL=SHOW FULL COLUMNS

Category: English K2 Community

Joomla 3.01
K2 2.6.1

After try to install several times, now i´ve this problem:

Error: 500 SQL=SHOW FULL COLUMNS.... i enter in BBDD no create the tables... but in the server, in folder component, all seem good, all files fron K2 Install are presents?

Anyone can tell me something. Thanks.
  • mimi72
  • mimi72's Avatar
15 Oct 2012 10:49 - 15 Oct 2012 12:00
problem instalation Joomla 3.1 was created by mimi72

problem instalation Joomla 3.1

Category: Communauté française K2

Je viens telecharger l´update de K2 por joomla 3.1, mais j ´ai erreur lors de l´instalation

JFolder: :files: La ruta no es una carpeta. Path: /var/www/vhosts/xxx.com/httpdocs/folderxxxx/tmp/install_507be0862f0c4

JFolder: :files: La ruta no es una carpeta. Path: /var/www/vhosts/xxx.com/httpdocs/folderxxxx/tmp/install_507be0862f0c4

JFolder: :files: La ruta no es una carpeta. Path: /var/www/vhosts/xxx.com/httpdocs/folderxxxx/tmp/install_507be0862f0c4

JInstaller: :Instalación: Imposible trouver le fichier XML de instalación de Joomla

Je dois attendre la version 2.6.2 de k2, ou est un problème d´ecriture sur le serveur.

merci


Note:j ai 777 sur le repetoire tmp et maintenant il me fait la même erreur sur

/administrator/components/com_k2

même si change les permis, rien à faire....

Note 2 :suites de mes deboires.... j´ai creer manuellement les repetoires com_k2 en component et en administrador/component et avec les permis et maintenant j´ai cette erreur :

Error: 500 SQL=SHOW FULL COLUMNS FROM `bna3z_k2_categories` et je suis rentré ds la base de datos aucune trace de la base de datos de K2... les fichiers de k2, par contre, sont bien installés dans leurs repertoires...

quelqu´un a eu le Même problème???? avecjoomla 3.1 et version actuelle de k2 2.6.1

??????
  • zago pietro
  • zago pietro's Avatar
06 Oct 2012 11:00
Error: Missing table with new category was created by zago pietro

Error: Missing table with new category

Category: English K2 Community

Hi all!
I'm new to this system.
I had correctly installed it on joomla webspace but when i try to create a new category (the first) i had this error:

Table 'gruppobovolone.pvpcz_finder_types' doesn't exist SQL=SELECT `id` FROM `pvpcz_finder_types` WHERE `title` = 'K2 Item'

seems that miss a table called pvpcz_finder_types.
How i can fix that?
I miss some chekpoint in the installation process?

Thanks :)
  • Moyzie
  • Moyzie's Avatar
24 Sep 2012 18:50

500 - **An error has occurred.** no access to site

Category: English K2 Community

Thanks for replying Lefteris Kavadas

K2 failed to import my joomla data so there is nothing to lose by uninstalling K2. Since I turned on the debugger my site is no longer accessible not even the back end. I can get as far as the joomla administrator login screen but when I log in I just get a blank screen so I can’t uninstall K2. When I try to access the front end from a browser I get the following screen (see Attached). This module has totally disabled my site and may have wiped out many hours of work adding content. If anyone has experience of this type of problem then I would be grateful for any advice on how to recover my site.

**Error**: 500
**You may not be able to visit this page because of:**

**an out-of-date bookmark/favourite**
**a search engine that has an out-of-date listing for this site**
**a mistyped address**
**you have no access to this page**
**The requested resource was not found.**
**An error has occurred while processing your request.**
**Please try one of the following pages:**

**Home Page**
**Search this site**
**If difficulties persist, please contact the System Administrator of this site and report the error below.**.

JDatabaseMySQL::query: 1146 - Table 'imoyes_pdpEU.wjnf6_k2_comments' doesn't exist SQL=SELECT c.*, i.catid, i.title, i.alias, category.alias as catalias, category.name as categoryname FROM wjnf6_k2_comments as c LEFT JOIN wjnf6_k2_items as i ON i.id=c.itemID LEFT JOIN wjnf6_k2_categories as category ON category.id=i.catid WHERE i.published=1 AND ( i.publish_up = '0000-00-00 00:00:00' OR i.publish_up <= '2012-09-24 18:48:57' ) AND ( i.publish_down = '0000-00-00 00:00:00' OR i.publish_down >= '2012-09-24 18:48:57' ) AND i.trash=0 AND i.access IN(1,1) AND category.published=1 AND category.trash=0 AND category.access IN(1,1) AND c.published=1 ORDER BY c.commentDate DESC LIMIT 0, 5

Call stack
# Function Location
1 JSite->render() D:\hshome\imoyes\pideltapi.eu\index.php:48
2 JDocumentHTML->render() D:\hshome\imoyes\pideltapi.eu\includes\application.php:271
3 JDocumentHTML->_renderTemplate() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\document\html\html.php:433
4 JDocumentHTML->getBuffer() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\document\html\html.php:655
5 JDocumentRendererModules->render() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\document\html\html.php:371
6 JDocumentRendererModule->render() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\document\html\renderer\modules.php:39
7 JModuleHelper::renderModule() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\document\html\renderer\module.php:107
8 include() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\application\module\helper.php:175
9 modK2CommentsHelper::getLatestComments() D:\hshome\imoyes\pideltapi.eu\modules\mod_k2_comments\mod_k2_comments.php:49
10 JDatabase->loadObjectList() D:\hshome\imoyes\pideltapi.eu\modules\mod_k2_comments\helper.php:80
11 JDatabaseMySQL->execute() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\database\database.php:1100
12 JError::raiseError() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\database\database\mysql.php:548
13 JError::raise() D:\hshome\imoyes\pideltapi.eu\libraries\joomla\error\error.php:251
  • Moyzie
  • Moyzie's Avatar
24 Sep 2012 08:44 - 24 Sep 2012 09:21

500 - **An error has occurred.** no access to site

Category: English K2 Community

Hi I am new to K2 and installed latest version of Joomla, using default Beez template. I added a few menus, categories and articles also one module (Shackslides). I then installed K2 but have not been able to use any of it as I have errors whenever I do, I tried converting my joomla content and the results came back saying the process had completed but no categories or articles appear in K2. I switched on debugging and opened k2, the following error appeared.


500 - **An error has occurred.**
JDatabaseMySQL::query: 1146 - Table 'imoyes_pdpEU.wjnf6_k2_items' doesn't exist SQL=SELECT COUNT(*) FROM wjnf6_k2_items AS i WHERE trash=0

can anyone shed any light on this for me.

Thanks

Things are worse than I thought, after switching on debugging; I no longer have access to my site or the admin. When I login to the backend I just get a blank screen. Hope this is something you can help with??
  • Joseph Kleiman
  • Joseph Kleiman's Avatar
22 Sep 2012 14:06
error trying to add user avitar was created by Joseph Kleiman

error trying to add user avitar

Category: English K2 Community

I am attempting to add an avitar to a user profile in joomla and keep getting the following error:

TableK2User::store failed - Unknown column 'ip' in 'field list' SQL=UPDATE `jos_k2_users` SET `userID`='64',`userName`='Chris Remsen',`gender`='m',`description`='',`url`='',`group`='16',`ip`='',`hostname`='',`notes`='' WHERE id='3'

what am i doing wrong here?

thanks in advance for your help
  • Richard Hite
  • Richard Hite's Avatar
20 Sep 2012 21:23 - 21 Sep 2012 17:35

[Solved] Error message (FPSSCategory: :store failed) when trying to create a cat

Category: Frontpage Slideshow

I have installed Frontpage Slideshow for the first time using version 3.xx the latest.  The install was successful.  When I go to create a catagory for the slideshow I get the following error message.

FPSSCategory: :store failed
Table 'db427464116.la0t2_fpss_categories' doesn't exist SQL=INSERT INTO `la0t2_fpss_categories` (`id`,`name`,`published`,`ordering`,`language`,`params`) VALUES ('','sjsTest','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\":\"0\"}')

It looks as if the SQL database is not creating the files needed.  I used Akeeba Admin Tools to check the permissions for the fpss direcrectory.  And it states all are 755.  I did change them to 777 but it made no differance.

I check the forum and all errors with FPSSCategory: :store failed relate to other issures.

I need help on figuring this out.

Jack
  • Alvaro Guachilema
  • Alvaro Guachilema's Avatar
19 Sep 2012 10:25 - 19 Sep 2012 11:01
k2 tag cloud doesn't display was created by Alvaro Guachilema

k2 tag cloud doesn't display

Category: English K2 Community

I migrated all k2 content from one site (J1.5/k2ver2.5.7) to another (J2.5.7/k2ver2.5.7) by copying all tables from one database to another and replacing the respectives suffixes. I also updated the 'created_by' field. Content is present as expected but when usign k2 tools to display a tag cloud it displays nothing and yes, tags are correctly assigned.

By turning on debugging, I got the following message:

JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND tag.published = 1' at line 4 SQL=SELECT tag.name, tag.id FROM qckil_k2_tags as tag LEFT JOIN qckil_k2_tags_xref AS xref ON xref.tagID = tag.id WHERE xref.itemID IN () AND tag.published = 1

My site info is as follows:

Web Server Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
PHP version 5.2.17
MySQL version 5.1.52-cll
GD image library bundled (2.0.34 compatible)
Multibyte string support Enabled
Upload limit 25M
Memory limit 75M
Open remote files (allow url fopen) Yes

Thanks in advance,
  • Gérald Abbadie
  • Gérald Abbadie's Avatar
07 Sep 2012 08:54
Catchable fatal error and Warning: Illegal offset was created by Gérald Abbadie

Catchable fatal error and Warning: Illegal offset

Category: English K2 Community

After manipulation on K2 categories (option changes) and the elimination of a group of additional fields, the site is completely out with error messages:
Warning: Illegal offset type in isset or empty in / xxxxxx/components/com_k2/models/item.php on line 1110
Catchable fatal error: Object of class stdClass Could not be converted to string in / xxxxxxxx/administrator/components/com_k2/lib/JSON.php on line 478


I did an update of K2 but instead of fixing the problem, it has created a new one in the administration. Component appears only on the home page but not in the administration menu components while remaining functional.

An idea about the problem?

K2: 2.5.7
Joomla 2.5.6
Versions of PHP and MYSQL recent
Displaying 501 - 520 out of 793 results.