Log in | Register | Lost password

Bottom
recalculate fails
  • Posted: 08.07.2005, 13:18
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hi,
    After upgrading from 3.xx to 4.01 I have the problem that I cannot recalculate the images, I get this error:

    Fatal error: Smarty error: the $compile_dir '/pnRender_compiled' does not exist, or is not a directory. in /xxx/xxx/xxx/includes/classes/Smarty/Smarty.class.php on line 1083

    Ialready installed and activated the newest pnRender from Postnuke 0.750 Gold.

    The only mention of $compile_dir in Smarty.class.php is: var $compile_dir = 'templates_c'; on line 78 or so.

    Suggestions anyone?
  • Posted: 10.07.2005, 21:00
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Make sure you have all the required directories (and make them chmod 777).

    /pnTemp/pnRender_cache
    /pnTemp/pnRender_compiled

    /pnTemp/Xanthia_cache
    /pnTemp/Xanthia_compiled
  • Posted: 11.07.2005, 09:55
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Thx for your suggestion, I checked to be sure and they have alle the permissions they can have: With my provider: rwx rwx rwx

    And still it does not work.

    (probably related: the full images do not show, the thumbnails do, in the link to the images is the "&" replaced by "&". The random facility is the other way around by the way, the thumbnails on the home page do not show, but clicking on them give the full picture).







    [Edited on 11/7/2005 by HeinD]

    [Edited on 11/7/2005 by HeinD]
  • Posted: 12.07.2005, 14:09
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    No more error during recalculating
    Turned out to be silly user problem.

    During the upgrade to PN 0.750 I did not do item 7 of the upgrading manual:

    Quote


    Seventh, There are also several new entries in config.php that need adding.
    Add the following to just below $pnconfig['encoded']

    $pnconfig['pconnect'] = '0';
    $pnconfig['temp'] = 'pnTemp';

    and add the following just below $pndebug['debug_sql'] = 0;

    $pndebug['pagerendertime'] = 0;


    Still I have two problems (perhaps related):
    1 Message after recalculating: Images left: 32/122, no matter how many times I recalculate, this stays the same.
    2 The images do not show up.
    symptoms:
    - _PTMP_GALLERY_EMPTYALBUM is the message I get when viewing an album
    - in the list of subfolders I see (with the same album) 4 _PSLIST_IMAGES and I know there are 4 images in that album.
    - In the list of subfolders no images are shown but in the source it is obvious why:
    www.xxx.xx/index.php?module=photoshare&type=show&func=viewimage&iid=180&thumbnail=1
    the & is replaced by &

    I'll keep looking for solutions but any suggestions are welcome
  • Posted: 12.07.2005, 15:26
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Problem 1 solved:

    Somewhere 32 files were renamed on my server:
    img18 becam img17(1)
    img19 became img17(2) etc..

    Recalculation works now images left 0/118 (I threw out 4 compared tot last post)

    Problem 2 no changes, yet
  • Posted: 12.07.2005, 21:39
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    All is well. I changed back and forth from 4.20 to 4.01 and it worked, Now I'upgraded again to 4.20 and it still works.

Template courtesy of Designs By Darren.