vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   4images Gallery 1.7 + vB 3.0.x (update Oct 30) (https://vborg.vbsupport.ru/showthread.php?t=66335)

mtha 10-20-2004 01:09 AM

Quote:

Originally Posted by chadi
I'm getting some crazy error:

http://www.talkjesus.com/4images/admin/index.php

How do I fix this?

HTML Code:

DB Error: Bad SQL Query: SELECT template FROM template WHERE title='options'
Table 'chadi_4images.template' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash            FROM session
Table 'chadi_4images.session' doesn't exist

DB Error: Bad SQL Query: SELECT sessionhash              FROM session              WHERE sessionhash = '62acf9f66e454d30ab0189ddec368746'
Table 'chadi_4images.session' doesn't exist

You missed some step. You can either read the instruction and do the steps carefully or read my answer few page up. this question has been asked and answered many time!

Quote:

Does this also works with 4images 1.7.1 ?
I dont know. didnt try, didnt bother to upgrade to 1.7.1 either. Anyone have any luck on answering this question? :)

Chadi 10-20-2004 01:48 AM

I double checked everything, actually 3-4 times by now.

I've attached all files that were edited / included.

mtha 10-20-2004 04:27 PM

Quote:

Originally Posted by chadi
I double checked everything, actually 3-4 times by now.
I've attached all files that were edited / included.

Refer back to this post:
https://vborg.vbsupport.ru/showpost....&postcount=151
on page 11:

01: constant.txt:
Do you have vb table prefix in your database?

define('VB_TABLE_PREFIX',''); // your vb tableprefix. vB default is blank


02: sessions.php
Are you sure your template table name is "template"? or if you need any prefix?

// Define here the name of the template database table.
// Normally no need to change.

define('VB_TEMPLATE_TABLE', 'template');



btw, do you have your 4images and vb tables in the SAME database?

PAINTBALLM 10-20-2004 09:20 PM

I could install this myself, but I dont really have the time with the tons of work I am doing lately with the company I work for now. I will pay $15 or so via paypal to have it installed on my site www.pbmessage.com LMK ;)

Actually.. $20. To have it working with my vb3.0.3 site/database, and set up to match the rest of the site.

Neal-UK 10-21-2004 12:46 PM

Do u have a version for vb 3.0.3?

I installed this, and it appeared to be working fine except on the gallery homepage is showed active users but not the words 'Currently active users:' or to that effect.

I also logged out via the gallery and it came up with the old VB messages, error whilst attempting to log you out, click here to logout.

I've removed it again but would very much like it on my forums.

mtha 10-21-2004 06:39 PM

Quote:

Originally Posted by nealparry
Do u have a version for vb 3.0.3?

this version should work for 3.0.3

Quote:

I installed this, and it appeared to be working fine except on the gallery homepage is showed active users but not the words 'Currently active users:' or to that effect.
dont really understand what you mean, but it seems that you have problem with your template or language file. Check them out.


Quote:

I also logged out via the gallery and it came up with the old VB messages, error whilst attempting to log you out, click here to logout.
The logout link should have userid &u=xxx in there. it was included in my instruction file.

James T Brock 10-22-2004 06:02 AM

Ok, I have this installed and working fine except for one problem. My moderators can login but they are complaining that the upload buttun is greyed out and they are not being allowed to upload images.

Is there some kind of glitch in the permissions system that is not allowing their usergroup to upload pics?

mtha 10-22-2004 09:40 PM

Quote:

Originally Posted by James T Brock
Ok, I have this installed and working fine except for one problem. My moderators can login but they are complaining that the upload buttun is greyed out and they are not being allowed to upload images.

Is there some kind of glitch in the permissions system that is not allowing their usergroup to upload pics?

groupID problem.

Member has group = 2, admin has group = 6, but moderators groupID are unclassified in 4images.

I think the easiest way is adding another field for album level in user table, giving default value = 2 (member). For those who need to be admin, just change the value to be 6

bkbelew 10-24-2004 04:15 AM

Im having some issues with my install, everytime i try to upload a picture i get this:

Quote:

Warning: Unable to create './data/media/1/4575.jpg': No such file or directory in /var/vhosts/gamesite/html_docs/gallery/includes/upload.php on line 114

Warning: Unable to move '/tmp/phpskgnZH' to './data/media/1/4575.jpg' in /var/vhosts/gamesite/html_docs/gallery/includes/upload.php on line 114
the chmod for the data directory is 777 i dont see what its deal is, can someone help me?

mtha 10-24-2004 04:22 AM

Quote:

Originally Posted by bkbelew
Im having some issues with my install, everytime i try to upload a picture i get this:

the chmod for the data directory is 777 i dont see what its deal is, can someone help me?

This is a problem related to original 4-images install that you have, which has nothing to do with this hack.

I think I saw the problems several times. I think it is related to safe_mode property. Check over 4-images forum. they should be able to answer your question.


All times are GMT. The time now is 09:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01492 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete