SQL command doesn't appear inside the file

Phoca Gallery - image gallery extension
triskel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Oct 2010, 15:11

SQL command doesn't appear inside the file

Post by triskel »

Hello all,
I've checked in all file inside the official zip file of the installation Phocagallery 2.7.5 pack but I never seen any
SQL command regarding the INSERT INTO,can someone help me?


King Regards
Triskel
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: SQL command doesn't appear inside the file

Post by Benno »

Hi,
SQL commands are in install.bak
Kind regards,
Benno
triskel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Oct 2010, 15:11

Re: SQL command doesn't appear inside the file

Post by triskel »

hello benno,
thanks for your reply but inside the install.bck there are only the SQL command regarding the drop e create.
My request is regarding the "insert into" involved when some user upload a file and the phocagallery store this
info inside the DB.

king regards
Triskel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SQL command doesn't appear inside the file

Post by Jan »

Hi, Phoca Gallery does not insert any images at the start of using the component, so there is no "INSERT" :idea:

Jan
If you find Phoca extensions useful, please support the project
triskel
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 21 Oct 2010, 15:11

Re: SQL command doesn't appear inside the file

Post by triskel »

Hello Jan,
you mean that when the user upload an image the func doesn't use any SQL "insert" for store
the data in the DB?
it's strange.....I've seen the upload func use the joomla standard store() function,can you provide
some details regarding part of code.

King Regards
Triskel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SQL command doesn't appear inside the file

Post by Jan »

Hi, I have read the first post, so I thought you mean the install.bak file.

Of course there is an sql while adding images in frontend, you can find it in model of ucp, see:

components\com_phocagallery\models\user.php

BTW it is written in Joomla! framework so you will find not "INSERT" query

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