Jump to content

Search the Community

Showing results for tags 'multi-instance processwire/setting()'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Howdy! I am following this blog post. I have set up two completely new (blank profile) installs of pw dev.132 on localhost (lamp) PHP7.2 and Apache 2.4.29. The only additions to each default site for testing are: localhost/site1: Added Page1 and User1 localhost/site2: Added Page2 and User2 Both sites have Tracy installed. No other modules (other than defaults) are installed. From Tracy's console (Site2): $path = '/var/www/site1/'; $url = 'localhost/site1/'; $site = new ProcessWire($path, $url); $items = $site->pages->find("template=admin,name=users,include=all"); foreach($items as $item) { d($item->name); } yeilds: ERROR: Cannot redeclare ProcessWire\setting() (previously declared in /var/www/site1/wire/core/FunctionsAPI.php:680) on line: 680 in /var/www/site2/wire/core/FunctionsAPI.php According to searches of processwire/setting() indicates a namespace error. But both installations are identical. This error is generated whether I specify users or pages in the selector, or switch to Site1. Can someone please point me in the right direction. Thank you!
×
×
  • Create New...