Announcement

Collapse
No announcement yet.

mvimport path

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mvimport path

    Having a strange issue with not being able to load a file using mvimport. Kinda the same with fexists(). When I check a path and file such as /Merchant5/s02/myfile.txt I seem to be able to read it. But when the path is longer or deeper such as /Merchant5/s02/ids/4thdeep/myfile.txt nothing is returned. Happens regardless of using a variable or literal.

    I've used the same code in my modules for a while so I am wondering if there might be a bug or condition that has changed? Need some ideas on what I might do to verify a bug or read the file.

    BTW: I have tried file_read, it fails and returns -1.

    Thanks,

    Scott
    Need to offer Shipping Insurance?
    Interactive Design Solutions https://www.myids.net
    MivaMerchant Business Partner | Certified MivaMerchant Web Developer
    Competitive Rates, Custom Modules and Integrations, Store Integration
    AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
    My T-shirt Collection is mostly MivaCon T-shirts!!

    #2
    Re: mvimport path

    Scott,

    From Dev: "could be a symbolic link or filesystem permissions"
    Thanks,

    Rick Wilson
    CEO
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Re: mvimport path

      Thanks Rick.

      My own site, not using symbolic links.

      permissions:
      folders are 755.
      file to load is 644.

      I think these should be OK. I just had something work and I didn't expect it to. It's possible some variables aren't getting cleared when I up load a new version of the script. I need to rewind myself to what I might have done.

      Scott
      Need to offer Shipping Insurance?
      Interactive Design Solutions https://www.myids.net
      MivaMerchant Business Partner | Certified MivaMerchant Web Developer
      Competitive Rates, Custom Modules and Integrations, Store Integration
      AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
      My T-shirt Collection is mostly MivaCon T-shirts!!

      Comment

      Working...
      X