Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7596783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:00:11+00:00 2026-05-30T22:00:11+00:00

Running Magento with multiple stores. The base store works perfectly. On the secondary store

  • 0

Running Magento with multiple stores. The base store works perfectly. On the secondary store when reaching checkout and the switch to https this set of warnings is generated:

Warning: require_once() [function.require-once]: open_basedir restriction in effect.     

File(/var/www/vhosts/mainstore.com/httpdocs/app/Mage.php) is not within the allowed path(s): (/var/www/vhosts/secondarystore.com/httpdocs:/tmp) in /var/www/vhosts/secondarystore.com/httpdocs/index.php on line 41

Warning: require_once(/var/www/vhosts/mainstore.com/httpdocs/app/Mage.php) [function.require-once]: failed to open stream: Operation not permitted in /var/www/vhosts/secondarystore.com/httpdocs/index.php on line 41

Fatal error: require_once() [function.require]: Failed opening required '/var/www/vhosts/mainstore.com/httpdocs/app/Mage.php' (include_path='.:') in /var/www/vhosts/secondarystore.com/httpdocs/index.php on line 41

phpinfo shows the following for open_basedir

local value : /var/www/vhosts/mainstore.com/httpdocs:/tmp
master value: none

What gives?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T22:00:13+00:00Added an answer on May 30, 2026 at 10:00 pm

    Tl;DR; Go yell are the person administering your servers.

    How’d you run the php_info function? In the same PHP context as Magento, or by itself without bootstrapping Magento? Under the same .htaccess and Apache (or alternative web-server) context as the URL for the sites that are throwing the errors, or under a different URL context? Is your https setup using an identical apache configuration to your http setup? The places to set a php.ini configuration value are legion.

    1. Each domain you have may be using a different php.ini file. The SSL and non-SSL versions of a domain are considered different domains

    2. There are user specific php.ini files

    3. Values can be set via .htaccess files

    4. Values can be set via PHP at <a href="https://www.php.net/manual/en/function.ini-set.php>at runtime

    PHP is yelling at you, most likely because your hosting company/IT guy has PHP’s security features cranked to 11 for https URLs. Chances are, even if you can locate where this is being set you can’t change it without administrator rights, so find the person who knows how your server works and you’ll find the answer you’re looking for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm running an online store on Magento. I have Google Checkout as a Payment
I am looking to set-up a Magento (Community Edition) installation for multiple clients and
Magento Production version 1.2.1 store running on linux centos. I want to hide all
I am running a store on Magento. For some reason the Recently Viewed, Related
I have a server which is running more than 15 Magento stores, but they
I am running Magento CE 1.6.0. I have a unique store. I can see
We are running one Magento install over multiple domains and are using a script
We have an established Magento store running Magento 1.4.2.0 and recently something happened to
I have a magento site running on nginx with php-fcgi. I have set up
I have a Magento store running inside of a frameset. Paypal recently updated their

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.