Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 26, 2013, 01:35:04 am

Login with username, password and session length
Members
Total Members: 10771
Latest: Siphix
Stats
Total Posts: 32415
Total Topics: 5483
Online Today: 33
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 35
Total: 35
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Poll
Question: Error - Approve Images
- - 0 (0%)
-- - 0 (0%)
Total Voters: 0

Pages: [1] 2 Go Down Print
Author Topic: help Error - Approve Images  (Read 8966 times)
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« on: November 01, 2006, 05:11:09 pm »

sorry... I do not speak English

I have acquired and installed galleryPRO, but when click Button "Approve Images"

Error

Unknown column 'p.USER_ID_CAT' in 'on clause'
File: /web/htdocs/www.MYSITE.it/home/forum/Sources/Load.php(1707) : eval()'d code
Linea: 1575

help.. aiuto Sad

Roby
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #1 on: November 01, 2006, 05:28:20 pm »

Hmm, Seems like it did not install the queries. How did you install the gallery mod? Though the package manager?

If you need install help I can install it for you.
« Last Edit: November 01, 2006, 05:31:41 pm by SMFHacks » Logged
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« Reply #2 on: November 01, 2006, 05:34:48 pm »

Admin --> Packages --> Download New Packages --> Package to Upload:

I have installed also on new SMF. without other MOD.. but

Database Error
Unknown column 'p.USER_ID_CAT' in 'on clause'
File: /web/htdocs/www.MYSTE.it/home/community/Sources/Load.php(1702) : eval()'d code
Line: 1575

help..
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #3 on: November 01, 2006, 05:37:08 pm »

This is when you click "Approve Images" the text link?
Logged
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« Reply #4 on: November 01, 2006, 05:38:49 pm »

yes
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #5 on: November 01, 2006, 05:41:07 pm »

Copy the attached file Gallery.template.php and copy to your themes/default folder.
« Last Edit: November 01, 2006, 05:58:08 pm by SMFHacks » Logged
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« Reply #6 on: November 01, 2006, 05:49:26 pm »

no... non work

Unknown column 'p.USER_ID_CAT' in 'on clause'
File: /web/htdocs/www.inarte.it/home/forum/Sources/Load.php(1707) : eval()'d code
Linea: 1506
 

Cry
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #7 on: November 01, 2006, 05:51:58 pm »

Hmm can you run this mysql query via phpmyadmin
Code:
ALTER TABLE smf_gallery_pic ADD `USER_ID_CAT` int(10) NOT NULL default '0'
Logged
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« Reply #8 on: November 01, 2006, 05:53:35 pm »

Error


query SQL:
ALTER TABLE smf_gallery_pic ADD `USER_ID_CAT` int( 10 ) NOT NULL default '0'

Messaggio di MySQL: Documentazione
#1060 - Duplicate column name 'USER_ID_CAT'
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #9 on: November 01, 2006, 05:57:30 pm »

good that means it is installed in there.

Try running
this query in phpmyadmin
Code:
REPLACE INTO smf_settings
   (variable, value)
VALUES ('disableTemplateEval', '1');
Then goto the approve images page and tell me what Linea the error is on and the filename
« Last Edit: November 01, 2006, 06:00:50 pm by SMFHacks » Logged
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« Reply #10 on: November 01, 2006, 06:03:57 pm »

Unknown column 'p.USER_ID_CAT' in 'on clause'
File: /web/htdocs/www.SITE.it/home/community/Themes/default/Gallery.template.php
Line: 1506
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #11 on: November 01, 2006, 06:06:42 pm »

Hmm, Try this file I removed the on for USER_ID_CAT copy it your themes folder
Logged
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« Reply #12 on: November 01, 2006, 06:15:38 pm »

No...

Unknown column 'p.ID_CAT' in 'on clause'
File: /web/htdocs/www.SITEit/home/community/Themes/default/Gallery.template.php
Line: 1507

I try to install the galleryPRO in an other server for test?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #13 on: November 01, 2006, 06:19:22 pm »

That's fine it might be a mysql version issue not sure why it is not liking the LEFT Joins


I attached a file wihout those two joins

« Last Edit: November 01, 2006, 06:22:08 pm by SMFHacks » Logged
roberto
Inline PM Customer
*****
Offline Offline

Posts: 23



View Profile WWW
« Reply #14 on: November 01, 2006, 06:27:08 pm »

no... no work on other server...
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  

Recent
[May 25, 2013, 11:40:49 am]

[May 24, 2013, 06:36:59 pm]

[May 24, 2013, 05:22:09 pm]

[May 24, 2013, 05:20:20 pm]

[May 24, 2013, 05:11:52 pm]

[May 23, 2013, 08:29:56 pm]

[May 23, 2013, 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]

[May 22, 2013, 03:03:31 am]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.283 seconds with 22 queries.