![]() |
Whoops, I had an error from me playing with it before hand.
Reloaded the original garage_func_var.php and added the code above and it works as intended! Thanks! |
I keep getting the following error message when trying to upload a picture to the garage.
Warning: mkdir() [function.mkdir]: Permission denied in [path]\includes\garage_func_var.php on line 2744 Warning: move_uploaded_file(images/garage/attach/1/garage_vehicle-3-13003189071_full.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in [path]\includes\garage_func_var.php on line 2821 Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'D:\Temp\php\php5A27.tmp' to 'images/garage/attach/1/garage_vehicle-3-13003189071_full.jpg' in [path]\includes\garage_func_var.php on line 2821 any help would be appreciated@! |
Forgot to put that I tried to change the permissions to 777, but got the following error message with my FTP.
Response: 500 'SITE CHMOD 777 attach': command not understood |
Found one issue. I'm not sure if its been discussed before or not. When you're on the main garage page the facebook connect icon does not show up. When you are connected with facebook as normal its also not there.
|
Quote:
Code:
{vb:stylevar htmldoctype} |
Quote:
|
Any idea what's causing this when I try to post a comment on a vehicle image?
Database error in vBulletin 4.1.2: Invalid SQL: SELECT COUNT(image_id) AS ImageCommCount FROM garage_image_comments WHERE image_id = '33' WHERE active = '1'; MySQL Error : 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 'WHERE active = '1'' at line 1 Error Number : 1064 Request Date : Sunday, March 27th 2011 @ 04:50:40 PM Error Date : Sunday, March 27th 2011 @ 04:50:40 PM Script : http://www.xxxxxx.com/forums/garage_comments.php Referrer : http://www.xxxxx.com/forums/garage-i...mments-33.html IP Address : xx.xxxx.10.30 Username : xxxxxx Classname : vB_Database MySQL Version : 5.1.52 |
Open includes/garage_func_var.php
Find Code:
$img_comm_cnt_query = $vbulletin->db->query_read("SELECT COUNT(image_id) AS ImageCommCount FROM " . TABLE_PREFIX . "garage_image_comments WHERE image_id = '$data[id]' WHERE active = '1'"); Code:
$img_comm_cnt_query = $vbulletin->db->query_read("SELECT COUNT(image_id) AS ImageCommCount FROM " . TABLE_PREFIX . "garage_image_comments WHERE image_id = '$data[id]' && active = '1'"); Quote:
|
Quote:
|
Quote:
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|