osCmax v2.5 User Manual
Results 1 to 8 of 8

Admin pThumb Problem

This is a discussion on Admin pThumb Problem within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi, I have wee problem with my shop. When I'm adding a picture to product shop creates two files pThumb*** ...

      
  1. #1
    New Member
    Join Date
    Nov 2009
    Posts
    27
    Rep Power
    0


    Default Admin pThumb Problem

    Hi,
    I have wee problem with my shop.
    When I'm adding a picture to product shop creates two files pThumb*** file inside admin folder
    I'm going to have about 12k products so it can generate mess inside admin folder any clues how to change or disable it

  2. #2
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: Admin pThumb Problem

    A known issue - it's phpThumb itself, not reading the temp file directive. As per my Project instructions, change admin directory to remove write permissions (444) and problem is 'solved'. [A good idea to do this anyway ]
    Hosting plans with installation, configuration, contributions, support and maintenance.

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Admin pThumb Problem

    With 12k of products, I'd hope that you weren't putting them all in manually via the Admin!!!
    Easy Populate and Irfanview batch resizing, with an FTP upload of images... see the wiki.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    Member Munt's Avatar
    Join Date
    Jul 2010
    Posts
    49
    Rep Power
    0


    Default Re: Admin pThumb Problem

    Quote Originally Posted by ridexbuilder View Post
    A known issue - it's phpThumb itself, not reading the temp file directive. As per my Project instructions, change admin directory to remove write permissions (444) and problem is 'solved'. [A good idea to do this anyway ]
    When I set the folder to 444 i get "Permission Denied" when I try to access the admin.

    I had phpThumb working in the oscthumb contribution for OsC. Just had a poke around it on OsCMax but can't figure it out.

    Also when using Easy Populate it always adds an extra product with no information. Because I don't know what else it's doing wrong ... I don't use it.

  5. #5
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Red face Re: Admin pThumb Problem

    Apologies must've had a blonde moment - 555, of course (read+execute), not 444. D'oh! [Must've responded to a configure.php query at about the same time ]

    __________________________________________________ _______________________________________
    The mechanism is phpThumb, without cacheing (not relevant for Dyn. Mopics) but it's implementation is somewhat different to standard osC. It took me literally weeks to figure out, especially with the provision for subdirectory images (not standard and shoehorned in from yet another contrib.) Additionally, thumbnails are now created optionally with width or height as the baseline - another 'enhanced' feature.

    All the underlying features for phpThumb are there, however, including 'dormant' ones such as sharpening and watermarking. Plenty of provision for future additions, for those inclined/motivated. Just needs the relevant parameters in instant_update.php - warning: this file is fundamentally changed in the next release of 'Max, due to another new feature! At the same time, I'm renaming some of the variables, so it should be a touch more readable.

    EJ


    P.S. Not heard of that EP problem, sounds like an extra EOREOR in the uploaded file. If using Excel, then don't: try OpenOffice.
    Last edited by ridexbuilder; 08-18-2010 at 11:13 PM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  6. #6
    Member Munt's Avatar
    Join Date
    Jul 2010
    Posts
    49
    Rep Power
    0


    Default Re: Admin pThumb Problem

    Thanks ... I'll try 555
    Ahh sounds like a right complicated affair.

    I'm currently using OpenOffice, the errors after uploading make me too paranoid to use it ... I'm looking for another addon at the moment. Something to change gross price quickly for all products.

  7. #7
    Member Munt's Avatar
    Join Date
    Jul 2010
    Posts
    49
    Rep Power
    0


    Default Re: Admin pThumb Problem

    adding this cron job will sort out things out. I run it once a week.

    Code:
    find /home/user/public_html/catalog/admin/ -name "pThumb*" -exec rm {} ;

  8. #8
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Thumbs up Re: Admin pThumb Problem

    That'll do the trick, Munt, but I'd prefer a root cause solution, of course.
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. Admin login problem
    By dunester in forum osCommerce 2.2 Discussion
    Replies: 4
    Last Post: 05-14-2008, 01:04 PM
  2. Admin Problem on MS2-MAX v1.7.0 - can´t connect
    By harry in forum osCMax v1.7 Installation
    Replies: 5
    Last Post: 09-23-2004, 12:38 PM
  3. Problem in admin screen...
    By Anonymous in forum osCMax v1.7 Installation
    Replies: 2
    Last Post: 03-23-2004, 07:30 PM
  4. Admin email problem
    By robroymedia in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 03-15-2004, 01:23 AM
  5. Admin Login problem
    By judoka in forum osCmax v1.7 Discussion
    Replies: 7
    Last Post: 09-17-2003, 10:25 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •