vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - PhotoPlog: The Lite Gallery (https://vborg.vbsupport.ru/showthread.php?t=101368)

allstar55 12-16-2005 07:15 PM

Quote:

Originally Posted by calorie
The 1.0.4.1 is out, 1.0.4.3 is in, but I wonder if this is a space issue. How much space do you have available? How full is your /tmp directory? Also, right click on the ACP PhotoPlog Moderate Files page, and look at the HTML souce. What do you see where the thumbs should be?

I am alone on this server, savemode is on. Server had 120GB.
http://www.nfs-center.de/showroom/file.php?n=59&w=s doesn't exist.
Source from moderated files is:

Quote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" lang="de">
<head>
<title>NFS-Center.de - Forum - vBulletin Administrator-Kontrollzentrum</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" href="../cpstyles/vBulletin_3_Default/controlpanel.css" />
<script type="text/javascript">
<!--
var SESSIONHASH = "";
function set_cp_title()
{
if (typeof(parent.document) != 'undefined' && typeof(parent.document) != 'unknown' && typeof(parent.document.title) == 'string')
{
parent.document.title = (document.title != '' ? document.title : 'vBulletin');
}
}
//-->
</script>
<script type="text/javascript" src="../clientscript/vbulletin_global.js"></script>

</head>
<body style="margin:0px" onload="set_cp_title();">
<!-- END CONTROL PANEL HEADER -->


<!-- form started:7 queries executed -->
<form action="photoplog_file.php" name="cpform" method="post">
<input type="hidden" name="do" value="approve" />
<br />
<table cellpadding="4" cellspacing="0" border="0" align="center" width="90%" class="tborder">
<tr>
<td class="tcat" align="center" colspan="3"><b>Moderate Files</b></td>
</tr>
<tr valign="top" align="center">
<td class="thead" align="left"><nobr>Username / Titel</nobr></td>
<td class="thead" align="left"><nobr>Check to Approve</nobr></td>
</tr>

<tr><td colspan="2" class="tcat">Erstellt von <a href="http://www.nfs-center.de/forum/member.php?u=1" target="_blank">allstar</a> 16.12.2005 22:11 <strong>[<a href="http://www.nfs-center.de/showroom/index.php?n=59" target="_blank">Click Here to Delete</a>]</strong></td></tr>
<tr valign="top">
<td class="alt1"><label for="photoplog_approve[59]"><a href="http://www.nfs-center.de/showroom/index.php?n=59" target="_blank">fsdfsdf</a></label></td>
<td class="alt1"><label for="photoplog_approve[59]" class="smallfont"><input type="checkbox" name="photoplog_approve[59]" id="photoplog_approve[59]" value="1" tabindex="1" /><strong><a style="float: right;" href="http://www.nfs-center.de/showroom/index.php?n=59" target="_blank"><img src="http://www.nfs-center.de/showroom/file.php?n=59&amp;w=s" border="0" /></a></strong></label></td>
</tr>
<tr>
<td class="tfoot" colspan="2" align="center"> <input type="submit" class="button" tabindex="1" value="Speichern" accesskey="s" />
<input type="reset" class="button" tabindex="1" value="Zur?cksetzen" accesskey="r" />
</td>
</tr>
</table>
<input type="hidden" name="s" value="" />
</form>
<!-- form ended: 7 queries executed -->



<!-- START CONTROL PANEL FOOTER -->
<p align="center"><a href="http://www.vbulletin.com/" target="_blank" class="copyright">vBulletin v3.5.2, Copyright &copy;2000-2005, Jelsoft Enterprises Ltd.</a></p>
</div>
</body>
</html>

allstar55 12-16-2005 07:49 PM

With your old version 1.0.4 i have the same error. Hmm

calorie 12-16-2005 08:21 PM

Okay, not a space issue, but from your FTP, the image file permissions are -rw------- (600) but should be -rw-r--r-- (644) so that is why you no longer see images.

allstar55 12-16-2005 08:27 PM

Quote:

Originally Posted by calorie
Okay, not a space issue, but from your FTP, the image file permissions are -rw------- (600) but should be -rw-r--r-- (644) so that is why you no longer see images.

Other images have the same CHMOD, but you can see this images.
644 same problem, see shot.

allstar55 12-16-2005 08:41 PM

I have seen i have no thumbnails in

large, medium, small

calorie 12-16-2005 08:49 PM

What are your thumbnail sizes in the PhotoPlog settings?

allstar55 12-16-2005 08:57 PM

Quote:

Originally Posted by calorie
What are your thumbnail sizes in the PhotoPlog settings?

100kb 75%, i have upload a new picture and not auto set 644

calorie 12-16-2005 09:17 PM

The problem is that files are being set to -rw------- (600) permission but should be -rw-r--r-- (644) permission. A 600 permission means that, if you try to access the file via web, you get a 403 forbidden message. Somehow the default permission on your server is now set to 600 for files, but it needs to be 644 permission. With 600 permission, PhotoPlog does not have access to the original file to make thumbs, hence no large, medium, or small thumbs are made. Take a look at the umask function.
Code:

New files follow umask, in .login or .cshrc . The code follows:

  files directories
0  rw-  rwx
1  rw-  rw-
2  r--  r-x
3  r--  r--
4  -w-  -wx
5  -w-  -w-
6  ---  --x
7  ---  ---

umask 022 gives rw-r--r-- for files and rwxr-xr-x for directories.


nitro 12-16-2005 09:49 PM

on the photoplog main page i get this, its empty ?
XXXXX XXXXX
YYYYY YYYYY

On the forumhome I get
XXXXX 1 XXXXX
YYYYY
all the left column in wide tables till the
YYYYY

then the regular page content below of a left column to the left of the forums

and for the leftcolumn on off switch
photoplog page same as the other above but on forumhome

XXXXX 1 XXXXX
YYYYY Sidebar Off YYYYY

Im guessing now its not the conditional then as they come up empty outside of one on photoplog. At least thats ruled out.

In ibproarcade I had to add to its page output function global
$vbpoptions $vbplingual $forumsideblocks $switchdisplay $leftcolumn

And this is what I have added to both page and error page output globals in functions.php of photoplog.

calorie 12-16-2005 09:55 PM

What files are $show['leftcolumn'] and $forumsideblocks set? What templates contain:<if condition="$show['leftcolumn']">$forumsideblocks</if>


All times are GMT. The time now is 01:51 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.02505 seconds
  • Memory Usage 1,756KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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