Rebuilding Thumbnails & Resizes

Makyar

Joined: 2005-09-16
Posts: 145
Posted: Thu, 2006-10-19 00:04

I finally imported everything onto the new host and completed the setup. I did not copy over the cache though. Now when I try to build thumbnails and resizes, nothing happens and the progress bar does not move.. At the top right it says: Memory used: 5639456, total: 12M.

I did get a message in the installation about a memory limit of 12MB and that I should change .htaccess to show 16MB. I didn't do that because it kept the gallery directory from being accessible.

If anyone can help, that would be great.

Thanks,

Makar

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-10-19 00:51

disable and uninstall the netpbm, imagemagick and gd modules.

then try to install and activate the netpbm and imagemagick module.

@memory:
obviously your htaccess change doesn't help. don't use the gd module since it needs a lot of memory.
you should contact your webhost about increasing the memory limit.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Thu, 2006-10-19 01:15

What should I have them change it to?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-10-19 01:27

at least 16M, better 24M.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Thu, 2006-10-19 02:27

Once I reinstalled ImageMagick, it started to rebuild after a long time. It got up to 155 items built then the following popped up:

Smarty Debug Console
included templates & config files (load time in seconds):
no templates included
assigned template variables:
{$ImageFrameData} Array (2)
idList => empty
data => Array (0)
{$SCRIPT_NAME} /photos/main.php
{$form} Array (2)
action => Array (1)
runTask => 1
formName => empty
{$head} Array (3)
tpl => Array (1)
modules/imageframe/templates/ImageFrameHead.tpl => modules_imageframe
style => Array (2)
0 => modules/rating/rating.css
1 => modules/icons/iconpacks/paularmstrong...
javascript => Array (3)
0 => modules/search/SearchBlock.js
1 => lib/javascript/XmlHttp.js
2 => modules/rating/rating.js
{$isEmbedded}
{$l10Domain} themes_matrix
{$status} Array (0)
{$theme} Array (12)
themeUrl => themes/matrix
guestPreviewMode => 0
actingUserId => 6
markupType => bbcode
params => Array (15)
_version => 1.1.0
_requiredCoreApi => 7,0
_requiredThemeApi => 2,1
rows => 5
columns => 4
showImageOwner => 0
showAlbumOwner => 0
showMicroThumbs => 1
sidebarBlocks => Array (6)
0 => Array (2)
0 => search.SearchBlock
1 => Array (0)
1 => Array (2)
0 => rating.Rating
1 => Array (0)
2 => Array (2)
0 => core.ItemLinks
1 => Array (1)
useDropdown =>
3 => Array (2)
0 => cart.ShowCart
1 => Array (0)
4 => Array (2)
0 => members.MembersSummary
1 => Array (0)
5 => Array (2)
0 => imageblock.ImageBlock
1 => Array (0)
albumBlocks => Array (1)
0 => Array (2)
0 => comment.ViewComments
1 => Array (1)
show => 10
photoBlocks => Array (1)
0 => Array (2)
0 => comment.ViewComments
1 => Array (1)
show => 10
itemFrame => none
albumFrame => shadow
photoFrame => none
colorpack => empty
useFullScreen =>
pageType => progressbar
item => Array (23)
theme => empty
orderBy => empty
orderDirection => asc
canContainChildren => 1
description => 10/11 - Added Shaher & Modonna's ...
keywords => empty
ownerId => 6
summary => Welcome to Makar's Gallery
title => Makar's Gallery
viewedSinceTimestamp => 1130045038
originationTimestamp => 1130045038
pathComponent => empty
id => 7
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
linkedEntity => empty
modificationTimestamp => 1160617767
serialNumber => 179
entityType => GalleryAlbumItem
onLoadHandlers => empty
_persistentStatus => Array (2)
flags => 0
originalValue => Array (21)
theme => empty
orderBy => empty
orderDirection => asc
canContainChildren => 1
description => 10/11 - Added Shaher & Modonna's ...
keywords => empty
ownerId => 6
summary => Welcome to Makar's Gallery
title => Makar's Gallery
viewedSinceTimestamp => 1130045038
originationTimestamp => 1130045038
pathComponent => empty
parentId => 0
id => 7
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
modificationTimestamp => 1160617767
serialNumber => 179
entityType => GalleryAlbumItem
onLoadHandlers => empty
parentId => 0
children => Array (0)
parents => Array (0)
parent => empty
systemLinks => Array (3)
core.SiteAdmin => Array (2)
text => Site Admin
params => Array (2)
view => core.SiteAdmin
return => 1
core.YourAccount => Array (2)
text => Your Account
params => Array (3)
view => core.UserAdmin
subView => core.UserPreferences
return => 1
core.Logout => Array (2)
text => Logout
params => Array (2)
controller => core.Logout
return => 1
{$user} Array (18)
userName => Makar
fullName => Makar
hashedPassword => [I removed this line]
email =>

language => empty
id => 6
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
linkedEntity => empty
modificationTimestamp => 1130045038
serialNumber => 1
entityType => GalleryUser
onLoadHandlers => empty
_persistentStatus => Array (2)
flags => 0
originalValue => Array (13)
userName => Makar
fullName => Makar
hashedPassword => [I removed this line]
email =>

language => empty
id => 6
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
modificationTimestamp => 1130045038
serialNumber => 1
entityType => GalleryUser
onLoadHandlers => empty
isGuest =>
isRegisteredUser => 1
isAdmin => 1
assigned config file variables (outer template scope):
{#files#} Array (0)
{#vars#} Array (0)

Also, here are the last run details:

Error (ERROR_LOCK_TIMEOUT) : /hermes/web09/b2104/pow.makyar/g2data/locks/2/9/296

in modules/core/classes/FlockLockSystem.class at line 114 (gallerycoreapi::error)
in modules/core/classes/GalleryLockSystem.class at line 153 (flocklocksystem::_acquirelock)
in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 185 (flocklocksystem::acquirewritelock)
in modules/core/classes/GalleryCoreApi.class at line 2308 (gallerylockhelper_simple::acquirewritelock)
in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 731 (gallerycoreapi::acquirewritelock)
in modules/core/classes/GalleryCoreApi.class at line 956 (galleryderivativehelper_advanced::rebuildcache)
in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 66 (gallerycoreapi::rebuildderivativecache)
in modules/core/classes/GalleryCoreApi.class at line 942 (galleryderivativehelper_simple::rebuildcacheifnotcurrent)
in modules/core/classes/BuildDerivativesTask.class at line 94 (gallerycoreapi::rebuildderivativecacheifnotcurrent)
in modules/core/AdminMaintenance.inc at line 100 (buildderivativestask::run)
in ??? at line 0 (adminmaintenancecontroller::runtask)
in modules/core/classes/GalleryTemplateAdapter.class at line 800
in /hermes/web09/b2104/pow.makyar/g2data/smarty/templates_c/%%4011727635/%%3A^3A8^3A818B59%%theme.tpl.php at line 75 (gallerytemplateadapter::trailer)
in lib/smarty/Smarty.class.php at line 1251
in modules/core/classes/GallerySmarty.class at line 90 (smarty::fetch)
in modules/core/classes/GalleryTemplate.class at line 228 (gallerysmarty::fetch)
in main.php at line 412 (gallerytemplate::display)
in main.php at line 87
in main.php at line 80

What does this mean?

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Thu, 2006-10-19 17:08

If anyone can help, it would be appreciated.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Fri, 2006-10-20 02:55

The host changed the memory limit to 24MB. Still having the same problem though.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-10-20 03:09

- in case you use flock / file based locking, you should switch to database based locking (site admin -> scroll down).

- if the problem persists, please see:
http://gallery.menalto.com/node/29633#comment-106061

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Fri, 2006-10-20 04:01

I emptied the lock table and changed the locking system. This is what I get when trying to build thumbnails (I think it's the same thing):

Smarty Debug Console
included templates & config files (load time in seconds):
no templates included
assigned template variables:
{$ImageFrameData} Array (2)
idList => empty
data => Array (0)
{$SCRIPT_NAME} /photos/main.php
{$form} Array (2)
action => Array (1)
runTask => 1
formName => empty
{$head} Array (3)
tpl => Array (1)
modules/imageframe/templates/ImageFrameHead.tpl => modules_imageframe
style => Array (2)
0 => modules/rating/rating.css
1 => modules/icons/iconpacks/paularmstrong...
javascript => Array (3)
0 => modules/search/SearchBlock.js
1 => lib/javascript/XmlHttp.js
2 => modules/rating/rating.js
{$isEmbedded}
{$l10Domain} themes_matrix
{$status} Array (0)
{$theme} Array (12)
themeUrl => themes/matrix
guestPreviewMode => 0
actingUserId => 6
markupType => bbcode
params => Array (15)
_version => 1.1.0
_requiredCoreApi => 7,0
_requiredThemeApi => 2,1
rows => 5
columns => 4
showImageOwner => 0
showAlbumOwner => 0
showMicroThumbs => 1
sidebarBlocks => Array (6)
0 => Array (2)
0 => search.SearchBlock
1 => Array (0)
1 => Array (2)
0 => rating.Rating
1 => Array (0)
2 => Array (2)
0 => core.ItemLinks
1 => Array (1)
useDropdown =>
3 => Array (2)
0 => cart.ShowCart
1 => Array (0)
4 => Array (2)
0 => members.MembersSummary
1 => Array (0)
5 => Array (2)
0 => imageblock.ImageBlock
1 => Array (0)
albumBlocks => Array (1)
0 => Array (2)
0 => comment.ViewComments
1 => Array (1)
show => 10
photoBlocks => Array (1)
0 => Array (2)
0 => comment.ViewComments
1 => Array (1)
show => 10
itemFrame => none
albumFrame => shadow
photoFrame => none
colorpack => empty
useFullScreen =>
pageType => progressbar
item => Array (23)
theme => empty
orderBy => empty
orderDirection => asc
canContainChildren => 1
description => 10/11 - Added Shaher & Modonna's ...
keywords => empty
ownerId => 6
summary => Welcome to Makar's Gallery
title => Makar's Gallery
viewedSinceTimestamp => 1130045038
originationTimestamp => 1130045038
pathComponent => empty
id => 7
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
linkedEntity => empty
modificationTimestamp => 1160617767
serialNumber => 179
entityType => GalleryAlbumItem
onLoadHandlers => empty
_persistentStatus => Array (2)
flags => 0
originalValue => Array (21)
theme => empty
orderBy => empty
orderDirection => asc
canContainChildren => 1
description => 10/11 - Added Shaher & Modonna's ...
keywords => empty
ownerId => 6
summary => Welcome to Makar's Gallery
title => Makar's Gallery
viewedSinceTimestamp => 1130045038
originationTimestamp => 1130045038
pathComponent => empty
parentId => 0
id => 7
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
modificationTimestamp => 1160617767
serialNumber => 179
entityType => GalleryAlbumItem
onLoadHandlers => empty
parentId => 0
children => Array (0)
parents => Array (0)
parent => empty
systemLinks => Array (3)
core.SiteAdmin => Array (2)
text => Site Admin
params => Array (2)
view => core.SiteAdmin
return => 1
core.YourAccount => Array (2)
text => Your Account
params => Array (3)
view => core.UserAdmin
subView => core.UserPreferences
return => 1
core.Logout => Array (2)
text => Logout
params => Array (2)
controller => core.Logout
return => 1
{$user} Array (18)
userName => Makar
fullName => Makar
hashedPassword => [I removed this line]
email =>

language => empty
id => 6
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
linkedEntity => empty
modificationTimestamp => 1130045038
serialNumber => 1
entityType => GalleryUser
onLoadHandlers => empty
_persistentStatus => Array (2)
flags => 0
originalValue => Array (13)
userName => Makar
fullName => Makar
hashedPassword => [I removed this line]
email =>

language => empty
id => 6
creationTimestamp => 1130045038
isLinkable => 0
linkId => empty
modificationTimestamp => 1130045038
serialNumber => 1
entityType => GalleryUser
onLoadHandlers => empty
isGuest =>
isRegisteredUser => 1
isAdmin => 1
assigned config file variables (outer template scope):
{#files#} Array (0)
{#vars#} Array (0)

Makar

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-10-20 04:04

the smarty debug output is not relevant.
and it doesn't show any errors.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Fri, 2006-10-20 04:10

Is there any place where I can find a log of the problem? I noticed that there are only 53 tables in my database. There were 54 when it was imported to the new host. Could that be the problem? Besides this, the gallery is working fine though.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-10-20 04:13

probably you uninstalled a module that had a table... no need to worry about that.

FAQ: How to set/use Gallery in debug mode?

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Fri, 2006-10-20 05:35

This file is 1.4MB. This is the URL: http://www.makyar.com/photos/DebugOutput.txt

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-10-20 10:12

there's an error at the end:

"Error (ERROR_LOCK_TIMEOUT)

    * in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 709 (GalleryCoreApi::error)
    * in modules/core/classes/GalleryStorage.class at line 375 (GalleryStorageExtras::acquireWriteLock)
    * in modules/core/classes/DatabaseLockSystem.class at line 47 (GalleryStorage::acquireWriteLock)
    * in modules/core/classes/GalleryLockSystem.class at line 153 (DatabaseLockSystem::_acquireLock)
    * in modules/core/classes/helpers/GalleryLockHelper_simple.class at line 185 (GalleryLockSystem::acquireWriteLock)
    * in modules/core/classes/GalleryCoreApi.class at line 2308 (GalleryLockHelper_simple::acquireWriteLock)
    * in modules/core/classes/helpers/GalleryDerivativeHelper_advanced.class at line 731 (GalleryCoreApi::acquireWriteLock)
    * in modules/core/classes/GalleryCoreApi.class at line 956 (GalleryDerivativeHelper_advanced::rebuildCache)
    * in modules/core/classes/helpers/GalleryDerivativeHelper_simple.class at line 66 (GalleryCoreApi::rebuildDerivativeCache)
    * in modules/core/classes/GalleryCoreApi.class at line 942 (GalleryDerivativeHelper_simple::rebuildCacheIfNotCurrent)
    * in modules/core/classes/BuildDerivativesTask.class at line 94 (GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent)
    * in modules/core/AdminMaintenance.inc at line 100 (BuildDerivativesTask::run)
    * in ??? at line 0 (AdminMaintenanceController::runTask)
    * in modules/core/classes/GalleryTemplateAdapter.class at line 800
    * in /hermes/web09/b2104/pow.makyar/g2data/smarty/templates_c/%%4011727635/%%3A^3A8^3A818B59%%theme.tpl.php at line 75 (GalleryTemplateAdapter::trailer)
    * in lib/smarty/Smarty.class.php at line 1251
    * in modules/core/classes/GallerySmarty.class at line 90 (Smarty::fetch)
    * in modules/core/classes/GalleryTemplate.class at line 228 (GallerySmarty::fetch)
    * in main.php at line 412 (GalleryTemplate::display)
    * in main.php at line 87
    * in main.php at line 80
 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-10-20 19:16

i don't know what gallery version you're running. please upgrade to the latest nightly snapshot and if the problem persists, we can investigate further.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Mon, 2006-10-23 09:15

The site had stopped working (maybe when it was time to renew the random image for each album, it couldn't create the thumbnail). I upgraded to the latest build and now the gallery is browsable. Still though, it does not build resizes/thumbnails. Now it just stops in the middle of the process after a long wait for the progress bar page to load.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-10-23 09:24

let's start with the information that we don't have yet:
FAQ: What information is required when I ask for help in the forums?
please also include a link to a phpinfo page and a link to your gallery.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Mon, 2006-10-23 11:25

Here's the information: http://www.makyar.com/photos

Gallery version = 2.2-svn core 1.1.20
PHP version = 4.4.4 cgi
Webserver = Apache
Database = mysql 4.1.18-standard-log, lock.system=database
Toolkits = Exif, Thumbnail, ImageMagick, LinkItemToolkit
Acceleration = full/86400, full/86400
Operating system = Linux cgi1403.int.bizland.net 2.4.32-grsec #1 Fri Mar 17 12:22:27 EST 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; FDM; .NET CLR 2.0.50727)
Rows in GalleryAccessMap table = 134
Rows in GalleryAccessSubscriberMap table = 23641
Rows in GalleryUser table = 313
Rows in GalleryItem table = 23567
Rows in GalleryAlbumItem table = 311
Rows in GalleryCacheMap table = 233

http://www.makyar.com/photos/phpinfo.php

The only error in the system checks is with the file integrity. It's saying that there are 48 old files. I don't know how to run the cleanup script.

Right now, there are no errors when building resizes/thumbnails. It just takes a while to get to the progress page and then stops. Sometimes the cannot find server page comes up.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2006-10-23 12:50

if there's no g2 error on the progress bar page, there must be a php / webserver error.

please check your apache error logs and ensure php / g2 has plenty of memory.

i'd disable the exif module while debugging this issue since the exif module sometimes consumes tons of memory.

FAQ: I get only a blank screen when trying to view my Gallery, what's wrong?

FAQ: What is the webserver error log?

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Mon, 2006-10-23 23:53

I was getting the following message in the error log after clicking on run now:

PHP Warning: Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0

After upgrading to PHP version 5.1.5, the error does not come anymore. The problem is still there though.

The memory limit is set to 24MB. Because it goes to a cannot find server page, it doesn't give me a debug output.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-10-24 00:25

> Because it goes to a cannot find server page

sounds like a webserver / fatal php error.

please check the blank screen faq again. ususally there's a logged error in the apache error log in such cases.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Tue, 2006-10-24 18:27

Hi valiant,

I checked the CGI error log and there's nothing in it since I last reset it (this is where I had seen the Zend error). I asked them for the Apache error log, they told me that the CGI error log is the one where all the errors are. I don't think they know what they're talking about.

Is there anyway I can change the PHP settings to have errors sent to a certain file that we can browse to? So far, the resizes are being built only when browsed to but not when clicking on run now for build thumbnails/resizes. I keep getting that cannot find server page.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-10-24 18:41

your phpinfo shows that erro_log is not defined and log_errors is set to off.

you should change both ensuring that php errors get logged.

http://www.phpfreaks.com/apache_manual/page/mod/mod_cgi.html

describes the case of cgi logging. i'm not quite sure, but i'd say if error logging is disabled in php, you'll certainly get less things logged.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Tue, 2006-10-24 18:58

This is what they told me: The CGI error logs are produced for your account and the Apache error logs are for the server. Hence we will not be able to provide the Apache error logs.

I changed the PHP settings but I don't know what to do now. Where do I find the error log if one is created?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2006-10-24 19:04

you need to specify a path to an empty file with
ini_set('error_log', here);
ini_set('log_errors', 1);
ini_set('display_errors', 1);
error_reporting(E_ALL);

the file you specify as log file must be chmod 777 such that the webserver can write to it.

you need to add those lines in main.php after <?php

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Wed, 2006-10-25 00:05

Okay, here's what I put in:

ini_set('error_log', errorlog.txt);
ini_set('log_errors', 1);
ini_set('display_errors', 1);
error_reporting(E_ALL);

The file errorlog.txt is chmod 777 and is in the gallery directory. Do I stil have to specify the full path? When I got the cannot find server message again, the error log file hadn't changed.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-10-25 00:56

> Do I stil have to specify the full path?

for what?

and what's the exact error message you get?

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Wed, 2006-10-25 01:15

I mean the path for the file. Where I put errorlog.txt, do I have to put the full path of the file? It's in the gallery directory.

I haven't gotten any error messages in the file or in the control panel's error log.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-10-25 01:29

with full paths you always know for sure what should happen. with relative paths you're mostly ok. you should use an absolute (full) path.

@error:
i'm talking about the one you see in your browser.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Wed, 2006-10-25 02:03

When I put in the full path, I get:

Warning: Division by zero in /hermes/web09/b2104/pow.makyar/htdocs/photos/main.php on line 2

Warning: Division by zero in /hermes/web09/b2104/pow.makyar/htdocs/photos/main.php on line 2

Warning: Division by zero in /hermes/web09/b2104/pow.makyar/htdocs/photos/main.php on line 2

Warning: Division by zero in /hermes/web09/b2104/pow.makyar/htdocs/photos/main.php on line 2

Warning: Division by zero in /hermes/web09/b2104/pow.makyar/htdocs/photos/main.php on line 2

Warning: Division by zero in /hermes/web09/b2104/pow.makyar/htdocs/photos/main.php on line 2

Warning: Division by zero in /hermes/web09/b2104/pow.makyar/htdocs/photos/main.php on line 2

Now I'm back to just errorlog.txt. I know the PHP set error log file works because the error above was contained in it. So the first error log we set up in the PHP settings is working.

The error I'm getting is the cannot find server page. Now I'm using IE7 and the title for the error page is: Internet Explorer cannot display the webpage.

There is another log that I found, I think it's an http log or something. Here's the link: http://www.makyar.com/photos/access_log.gz I tried to look through it but I don't understand anything in it. It's a pretty big text file.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-10-25 02:45

you introduced a php error yourself by editing main.php incorrectly.

please copy and paste your first few lines of main.php such that i can tell you what's wrong.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Wed, 2006-10-25 02:49

That error I'm not getting anymore after removing the absolute path. Now I have the following as the first 5 lines:

<?php
ini_set('error_log', errorlog.txt);
ini_set('log_errors', 1);
ini_set('display_errors', 1);
error_reporting(E_ALL);

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-10-25 10:30

> ini_set('error_log', errorlog.txt);

that's wrong. you need to put the path into quotes.
ini_set('error_log', "errorlog.txt");

better yet:
ini_set('error_log', dirname(__FILE__) . '/errorlog.txt');

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Thu, 2006-10-26 00:06

I copied and pasted that instead of the other line. Still getting no errors in the log though and the resizes aren't being built at all.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2006-10-26 01:51

i see that zend.ze1_compatibility_mode is enabled in your php config.

you never mentioned this.

that's our warning in the system checks page of the installer:

Quote:
_('Warning: Your PHP is configured with Zend ze1_compatibility_mode ' .
'which can cause PHP to crash. Click <a href="%s">here</a> to test ' .
'your PHP. If you see "SUCCESS" then your PHP is ok. If you get an ' .
'error or no response then you must turn off ze1_compatibility_mode ' .
'before proceeding.'),

please disable it.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Fri, 2006-10-27 04:00

Hi valiant, thanks for working through this with me.

So I disabled it and nothing's changed.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2006-10-27 10:23

I'd like to see that myself. If you can create a new admin user / password and PM the url along with the user / password to me, that would work.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Fri, 2006-10-27 13:22

I'm PMing you the info.

Thanks,

Makar

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2006-10-28 00:18

I see what you mean, I tried to find out what's wrong in 30 minutes but didn't find the problem. Can't spend more time on this.

This is really weird.
It's supposed to show the progress bar.
If I print a lot of data before we start the task, there's still no output.

Only if I prevent the task from starting and output stuff I see the data.

Can you ask your webhost if some kind of caching / output compression is enabled?

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Sat, 2006-10-28 15:20

I asked them and they said no. They said if I tell them what's going on, they'll try to fix it. I doubt they'll be able to.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sat, 2006-10-28 16:32

I have no idea what's going on, more debugging would be necessary. But right now I don't have the time for that.

 
Makyar

Joined: 2005-09-16
Posts: 145
Posted: Sat, 2006-10-28 18:47

Sure, thanks a lot for your help. Do you think I should undo the changes we made so far?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-10-29 03:40

the changes to main.php? yes, undo them.