Announcement

Collapse
No announcement yet.

Apply Framework Path or Permissions Error?

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

    Apply Framework Path or Permissions Error?

    Hello!

    I am redesigning an MMUI store and thought I would switch over to CSSUI. This Suivant Readytheme has a nice menu system and I thought I would give it a try as a starting point.

    edit: Store version info
    Miva Merchant 9.0002
    MivaScript Engine v5.20
    Database API: mysql

    I was able to download and upload the framework to my development store, but when I go to apply the framework I get an error:

    Unable to copy \%STORE_BASEHREF%\..\js\vendor.ie.min.js to \\..\js\vendor.ie.min.js

    This seems like either a path or permissions issue:
    I tried making the entire httpdocs folder, subfolders, and files writable by all with no luck.

    So I'm thinking it's a file path issue.
    1) Is %STORE_BASEHREF% undefined? or is that just the actual folder name in the pkg file?
    2) is the leading "\\" in the target path causing a problem?
    3) is the "\..\" portion in the target path correct? It almost seems like it's supposed to be \images\..\js\vendor.ie.min.js, or really just \js\vendor.ie.min.js

    I see "vendor.ie.min.js" is the first file listed under the 'images' portion of the package file list, so I tried putting a full server path in the Images root path under domain settings with no luck.

    Since I had deleted an MMUI store and recreated a CSSUI store, the pkg file is uploaded to httpdocs/frameworks/0000002 folder.

    Any help or ideas are greatly appreciated!

    Thank you
    Last edited by oody; 04-02-15, 12:39 AM. Reason: store version info

    #2
    Re: Apply Framework Path or Permissions Error?

    I am experiencing the same error message when trying to apply any Readytheme. I am working on a fresh dev install of Miva 9 with initial settings. Any help will be appreciated.

    Thanks
    Omar Waheed
    http://dar-us-salam.com
    ~~~~~~~~~~~~~~~~~~
    Dar-us-Salam Publications
    Worship the Creator, not the Creations!

    Comment


      #3
      Re: Apply Framework Path or Permissions Error?

      Originally posted by Dar-us-Salam.com View Post
      I am experiencing the same error message when trying to apply any Readytheme. I am working on a fresh dev install of Miva 9 with initial settings. Any help will be appreciated.

      Thanks
      I had Miva support take a look at this and got this reply:
      I believe I know what's going on and I need to send this behavior over to our development team to possibly write it up as a bug. You have dumped the contents of the default scripts folder, /mm5/, into httpdocs but when you apply a ready theme in a default store (with a scripts folder such as /mm5/, Merchant2, etc) a /js/ folder gets created in httpdocs, parallel to /mm5/. Because your store's 'Base URL for Graphics' is set to / it's trying to create a /js/ folder parallel to /httpdocs/ but the perms on the root folder does not allow for the folder to be created.
      Not sure if your setup is similar, but perhaps you could post a confirmation to help confirm the issue.

      Comment


        #4
        Re: Apply Framework Path or Permissions Error?

        oody, Thanks for your response. Yes, I also copied the files from the /mm5/ folder to the main httpdocs as I didn't want an additional folder in the URL. I guess I will have to use the .htaccess file to redirect so as to go around this issue until Miva fixes this issue.
        Omar Waheed
        http://dar-us-salam.com
        ~~~~~~~~~~~~~~~~~~
        Dar-us-Salam Publications
        Worship the Creator, not the Creations!

        Comment

        Working...
        X