Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - surferboy

Pages: [1] 2 3 4 5 ... 10
1
Discussion & Troubleshooting / Re: issue uploading images over 100kb
« on: September 18, 2017, 01:35:18 AM »
Hi -

I am still encountering this same issue.

I am happy to pay someone to troubleshoot.  I pay $75/hour for tech assistance.

I am desperate.

Thanks,

Brian
still on version 1.7.7
php version 5.3.5
php settings:
memory limit: 180M
max excution time: 420
max input time: 180
post max size: 160M
upload max file size: 128M
safe mode - off
file uploads - on

2
Discussion & Troubleshooting / issue uploading images over 100kb
« on: June 20, 2017, 10:59:27 PM »
Hi -

We have been using 4images for many years.  Most of the time, we upload images by ftp.  Recently a member tried to upload an image and it hung.  We tried it ourselves and found that anything over 100kb would cause the upload to hang.  Anything under 100kb uploads just fine.

Our server php.ini settings are massive, like file upload max size is 164M and time out at 180 seconds.  We pay for a virtual server so it has lots of capacity.

Does anyone have any suggestions or ideas on how to resolve this?  We have both the regular upload and the multiupload mods enabled.

Thanks,

Brian
still on version 1.7.7
php version 5.3.5

3
Discussion & Troubleshooting / Missing plugin to play mp4 file
« on: October 11, 2015, 04:51:03 PM »
Hi -

I added an extension for .mp4 files following Vano's instructions http://www.4homepages.de/forum/index.php?topic=7277.0 

The file I wanted to play was huge, bigger than 20mb, so I uploaded it via ftp.  The file is there no problem.

The issue is that in almost all of the browsers, I get this message: "a plugin is needed to display this content."  The file will play on IE 11 but will not play on Firefox, on Waterfox, on Pale Moon, and on Chrome.  I have atttached a printscreen

Here is the mime type I have added in the upload_definitions.php file:
$mime_type_match['mp4'] = array("video/mp4", "application/octet-stream");

Here is the code in the mp4.html file:

Quote
<!-- Template file for MP4 Movies  -->
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="320" height="256" codebase="http:www.apple.com/qtactivex/qtplugin.cab">
<param name="SRC" value="{media_src}">
<param name="CONTROLLER" value="TRUE">
<param name="AUTOPLAY" value="TRUE">
<param name="CACHE" value="TRUE">
<param name ="SaveEmbedTags" value="true">
<embed
src="{media_src}"
width="320" height="256"
controller="TRUE"
autoplay="TRUE"
cache="TRUE"
SaveEmbedTags ="true"
type="video/quicktime"
pluginspage="http://www.apple.com/quicktime/download/">
</embed>
</object>

yes, I have the file extension in the acp settings. 

Should I use a different set of codes for the mp4.html file?  Any ideas?

Thanks,

Brian

4
Hi -

Using 4images 1.77
linux server
vps
php v5.3.5
mysql  5.1.54

When I clicked on auto thumbnailer | check thumbnails in the ACP, I got this message:
Unknown error type: [8192] Function ereg_replace() is deprecated (file: /var/www/vhosts/domain.com/httpdocs/4images/includes/image_utils.php: line: 34)

Anyone know if this is a minor bug or a major issue?

Thanks,

Brian

5
hooray!!! I solved the issue myself.

this is what was needed: delete both sets of tables so the code looks like this:

Code: [Select]
{if categories}

                 

                    <tr>

                      <td class="head2">

                       

                          <tr>

                            <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_categories}</td>

                          </tr>

                          <tr>

                            <td class="row2" valign="top">{categories}</td>

                          </tr>

                       

                      </td>

                    </tr>

                 

               

                  {endif categories}

Thanks again for you help and time!

6
sorry to pass along the bad news man ...

yes, go daddy was hacked and millions of websites were down:

http://www.cbsnews.com/8301-501465_162-57509744-501465/godaddy-goes-down-anonymous-claims-responsibility/


7
well right now go daddy has been hacked so there is a possibility that your website is down anyway.

now, I hope the more tech savvy on here will correct me ... but if your backup files are larger than 13 mb, you may need to upload them to your website via ssh.  the reason I say that is that most hosts have limits on the sizes of files you can import to mysql.

I say this because we just moved from a shared hosting platform to a dedicated hosting service, where part of an entire server is allocated permanently to us and when I tried to import some big files into mysql, I couldn't do it.

probably V@no can explain this better than I can and no, I cannot explain the steps on how to do this ... and since go daddy has been hacked, I doubt their customer service folks are available right now ... you may just have to wait.

sorry man.

8
Hi -
Okay, this is what I have right now (partial code) without moving the categories. Everything looks great except the categories are in the center column, of course!  Also, my category settings in the ACP are set at table cell = 1 and table width = 100%.  By the way, by doing that, you helped me TRULY add polish to the categories.html pages ... and the subcategories because they all list in one column instead of 2 and it looks FANTASTIC!!!  (I have to use 100% because otherwise the subcategories display in the categories.html pages display in the 270 px width and that looks horrible.  Anyway. ...

Code: [Select]
<table width="100%" border="0" cellspacing="0" cellpadding="0">

              <tr>

  <td width="10" valign="top" nowrap><img src="{template_url}/images/spacer.gif" alt="" width="10" height="10" /></td>
 
                <td width="270" class="row2" valign="top">

                  <table width="270" border="0" cellspacing="0" cellpadding="0">

                    {if random_image}

                    <tr>

                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>

                    </tr>

                   

                    <tr>

                      <td align="center" class="row2">

                    <br>

                        {random_image}

                    <br>

                    <br>

                      </td>

                    </tr>

                    <tr>

                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>

                    </tr>

                    {endif random_image}

                    <tr>

<tr>

                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="10" /></td>

                    </tr>

<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" />
                    {lang_site_stats}<br />
</td>

<tr>

                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="10" /></td>

                    </tr>

                  </table>

 

                </td>

Now I move the code as you instruct, cutting it from the center column and pasting it in the sidebar. That doesn't work. It creates a huge gap on the right of the left sidebar. So then I edited more of the table widths, and even the breadcrumb bar, changing everything to 270, as shown below. yes the left sidebar loses the huge gap but it appears way down on the page on the left and the background of the center column now has the color of the background of the entire 4images... dark grey instead of the light blue ...

Code: [Select]
<td class="bordercolor">

      <table width="100%" border="0" cellspacing="0" cellpadding="0">

        <tr>

          <td class="tablebgcolor">

             <table width="270" border="0" cellspacing="1" cellpadding="0" align="center">

<tr>

                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="10" /></td>

                    </tr>

              <tr>

                <td class="navbar2" height="19">

                  <table width="100%" border="0" cellspacing="0" cellpadding="0">

                    <td><img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />{clickstream}</td>

                    </tr>

                  </table>

                </td>

              </tr>

            </table><br />

            <table width="270" border="0" cellspacing="0" cellpadding="0">

              <tr>

  <td width="10" valign="top" nowrap><img src="{template_url}/images/spacer.gif" alt="" width="10" height="10" /></td>
 
                <td width="270" class="row2" valign="top">

                  <table width="270" border="0" cellspacing="0" cellpadding="0">

                    {if random_image}

                    <tr>

                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>

                    </tr>

                   

                    <tr>

                      <td align="center" class="row2">

                    <br>

                        {random_image}

                    <br>

                    <br>

                      </td>

                    </tr>

                    <tr>

                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>

                    </tr>

                    {endif random_image}

                    <tr>

<tr>

                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="10" /></td>

                    </tr>

<td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" />
                    {lang_site_stats}<br />
</td>

{if categories}

                  <table width="270" border="0" cellspacing="0" cellpadding="1">

                    <tr>

                      <td class="head1">

                        <table width="100%" border="0" cellspacing="0" cellpadding="3">

                          <tr>

                            <td class="head1" valign="top">{lang_categories}</td>

                          </tr>

                          <tr>

                            <td class="row2" valign="top">{categories}</td>

                          </tr>

                        </table>

                      </td>

                    </tr>

                  </table>

                  <br />

                  {endif categories}

<tr>

                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="10" /></td>

                    </tr>

                  </table>

 

                </td>

Thank you so much for looking at this.

Brian



9
Hi -

I am a huge fan of breadcrumbs and I like how they work on 4images.

The only problem is that on the index page, the breadcrumb bar is empty.  I would like it to display 'Gallery - Home'

When you look at the other pages in the 4images installation, it shows Gallery - Home /  TOP 100 Pictures  /  Page:1  as an example.

Also, any ideas on how to change the styling of the breadcrumb the look of the Xenforo breadcrumb? It is really nice.

thanks,

Brian

10
Hi -

thanks so much for the additional advice. It almost works ... by that I mean I have two sidebars, both 270 px, and almost everything is sorted except for the crucial element - categories.

When I do what you instruct, it blows the left sidebar about 800 px wide and completely messes up the screen. Yes, I have adjusted the acp category settings too ... but then the sidebar is floated halfway down the column and you have to scroll far down to see it.

Any chance I could pm or email you the code for you to take a look? I can't post it here for privacy reasons (we don't want a lot of users outside our community, if that is an acceptable explanation to the community here ? ... hope so. not trying to be a jerk).

Thanks so much.

Brian

11
Hi -

Thank you sooooooooooooooo much!  That was a big big big help!!!! I have been able to slowly modify all the non-home templates to show a right sidebar @ 300 px!

By accident or by the speed of a snail, I discovered how to add a left and right sidebar (don't laugh ... I paste first and cut second)

This discovery was also wonderful because I would like to modify the home page and put all the categories shown in the main content into a 270 px left sidebar.  Would you have any suggestions on how to do that?

Thanks so much,

Brian

12
Hi -

I made a faq page a long time ago and it lacks two things:

1. a title - how do I add one, similar to say Categories or Top Listed Images ... of course, I want it to read Frequently Asked Questions.  I know I need this code but that refers to a php script, right: <span class="title">{lang_top_images}</span>   ???

2. the background is light blue on the page and the text does not jump out.  I would like to have the text inserted into a table? a box? something to make the color background for the text a different color than light blue ... I still want the light blue for the background of the page in general ... hope you see what I am getting at ...

Thanks for any ideas!

- Brian

13
Hi -

I have searched everywhere for the html and/or css code to change the position of our sidebar from left to right.  I don't want to do this on every template (not the home.html but most of the rest). 

Can anyone suggest the code to use or the file to open to change the sidebar position?

Thanks,

Brian

14
Programming / 1000 categories and resource memory and time out issues
« on: July 17, 2012, 09:18:31 PM »
Hi -

We are a devoted 4images user. For our forum, we use Invision Power Board. Recent updates on their upcoming launch of their image gallery indicates that sub-albums will not be permitted while sub-categories will.  Given the structure of 4images, would the issue pasted below happen to our 4images installation, where we eventually exceed 1000 categories, be it regular or member categories?   Please note that resource issue that IPS describes is on a user's hosting platform and not their own hosting platforms.

 The IPS announcement and explanations are listed here:

annoucement:
Quote
In IP.Gallery 5.0, you will no longer be able to create sub-albums.  Sub-categories are still supported, however albums themselves can only be placed within a category, not within another album. ....These changes represent necessary deviations from past versions to allow IP.Gallery to scale effectively as the site becomes larger.  One of the primary issues faced in past versions was resource consumption as the number of albums on the site grows - this will no longer be an issue with specific rules in place that prevent complex hierarchy challenges.

explanation:
Quote
Firstly, we are not removing subforums (however, we have worked on MANY sites where the admin has added over 1000 forums and suddenly they get memory and timeout issues because it takes so many resources to build the forum tree when they do this).  The difference with Gallery is that you WILL eventually top 1000 albums if your Gallery continues to grow.  This is because users create the containers, not the administrator, so mechanisms have to be built in to account for this.

Once you start reaching around 1000 albums or more when they can be structured in complex hierarchys, there is no resource efficient manner of building the tree.  For instance

Category A
--Album 1
----Subalbum 1
------Sub-subbalbum 1
------Sub-subbalbum 2
----Subalbum 2
------Sub-subbalbum 1
--------Sub-sub-subalbum 1
----------Sub-sub-sub-subalbum 1

In this scenario, to show the latest images (that you have permission to see) for any parent container, you need to loop through your children containers (the ones you can see) to figure out what their latest images are.  The only real way to do this is to load all of the albums from the database, put them into a tree structure in php, then loop through them.  Pulling all of the albums when you only have 100 isn't an issue.  Pulling all of them from the database when you have 10,000 is.  And no, there's no realistic way to pull only the albums you need because you don't know which ones you need (you have to recursively iterate through the albums to figure out what each parent's is and to determine if it is one you need to check).

Thanks to all the php programmers out there who understand php structure and can explain how or why 4images does or does not face the same issue.

Brian

15
Hi -

After that long back and forth about changing servers, we're still challenged with the quality of an upload of an image if we have GD selected in the ACP settings.

The issue is that with GD enabled, we do get a thumbnail automatically created but the image that is uploaded is hugely pixalated, almost as if the full size image is a blown up version of the thumbnail, and naturally, it is completely out of focus and looks terrible.

If we don't have GD enabled, we don't get the autothumbnail creation but the image that is uploaded looks perfect.

Does anyone have any thoughts?

Thanks so much.

Brian

[Edit]  - issue resolved. read solution:

Okay, after reading some of the other posts on here about GD, I decided to check my settings in the ACP for upload.  In our old shared hosting installation, with Image Magick enabled, we never had a value specified for the field 'Auto Resize Quality.'  It never was an issue.

So on a whim, I decided to add a setting of 100 to the 'Auto Resize Quality' and that resolved the issue, actually two issues, the first being that the image that appeared in full size was now clear and sharp, and the autoresizer, that was not working, is now working.


Pages: [1] 2 3 4 5 ... 10