Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43261
Total Topics: 7519
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 278
Total: 280

Poll

Error - Approve Images

-
0 (0%)
--
0 (0%)

Total Members Voted: 0

Author Topic: help Error - Approve Images  (Read 17078 times)

0 Members and 1 Guest are viewing this topic.

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
help Error - Approve Images
« 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 :(

Roby

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: help Error - Approve Images
« 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 »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
Re: help Error - Approve Images
« 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..

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: help Error - Approve Images
« Reply #3 on: November 01, 2006, 05:37:08 pm »
This is when you click "Approve Images" the text link?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
Re: help Error - Approve Images
« Reply #4 on: November 01, 2006, 05:38:49 pm »
yes

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: help Error - Approve Images
« 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 »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
Re: help Error - Approve Images
« 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
 

:'(

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: help Error - Approve Images
« Reply #7 on: November 01, 2006, 05:51:58 pm »
Hmm can you run this mysql query via phpmyadmin
Code: [Select]
ALTER TABLE smf_gallery_pic ADD `USER_ID_CAT` int(10) NOT NULL default '0'
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
Re: help Error - Approve Images
« 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'

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: help Error - Approve Images
« 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: [Select]
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 »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
Re: help Error - Approve Images
« 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

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: help Error - Approve Images
« 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
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
Re: help Error - Approve Images
« 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?

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: help Error - Approve Images
« 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 »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline roberto

  • Member
  • *
  • Posts: 23
    • View Profile
    • Arte Italiana
Re: help Error - Approve Images
« Reply #14 on: November 01, 2006, 06:27:08 pm »
no... no work on other server...

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
6614 Views
Last post December 10, 2006, 03:12:00 pm
by stefanp
8 Replies
7808 Views
Last post September 19, 2008, 11:27:33 am
by Alistair
1 Replies
4585 Views
Last post January 11, 2010, 06:41:10 pm
by SMFHacks
1 Replies
3464 Views
Last post January 15, 2014, 05:22:51 pm
by SMFHacks
3 Replies
540 Views
Last post May 08, 2022, 08:12:36 am
by SMFHacks

+- Recent Topics

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
Today at 08:27:36 am

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Powered by EzPortal