Search the Community

Showing results for tags 'localhost'.



More search options

  • 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

  • ProDrafts
  • ListerPro
  • ProFields
  • ProCache
  • Form Builder
  • Likes
  • ProDevTools
  • Custom Development

Categories

There are no results to display.


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 12 results

  1. So, all of a sudden, Chrome is blocking all of my localhost sites, claiming my connection is not Private, blah blah..Here is the full text of what Chrome is telling me. I get no option to 'continue to this unsafe site'. It seems I have no option but to install SSL on my local sites. I have seen some articles on how easy it is to do in a Mac but I am on Windows. Anyone has pointers on how I can do this? Alternatively, anyone knows what this Chrome error is about? Bottom line is, unless I change browsers, I am not currently able to develop and test stuff locally. Grr! Thanks.
  2. Hi there, today i run in a very strange Problem. I downloaded a DB dump from a working processwire site (online) and importet it. When i use this DB with my local development version of the site the $config->urls seem to be "broke". But only as long as i am not logged in to the admin pannel! FYI the online version is just a copy of my local version with one difference - i had to change a RewriteRule in the .htaccess because the online version works with a VirtualDocumentRoot. And now here comes the next very strange thing: When using the DB dump and $config->urls isent working (points only to localhost:8888/) and i make changes in the home.php they dont show up when i refresh the local version in browser. I can even delete everything in home.php and the browser still shows the broken version of the site. I mean that's more than strange or? Anybody any idea to this mess? Would be glad because i realy stuck here. Thanks in advance. Best regards Simon
  3. I'm trying to send an email notification for each inquiry submitted. Currently they're just saved as pages. I want to email notify too. So I have (mail part is at the bottom): // check if the form was submitted if($input->post->submit) { // determine if any fields were ommitted or didn't validate foreach($required_fields as $key => $value) { if( trim($value) == '' ) { $error_message = "<p class='error'>Please check that you have completed all the required fields.</p>"; $error = true; } } // if no errors, create a new page if(!$error) { $p = new Page(); // create new page object $p->template = 'vessel_inquiry'; // set template $p->parent = wire('pages')->get('/sales/inquiries/'); // set the parent $p->name = $input->post->vessel_id . '_' . date('YmdHisu') . '_' . $input->post->user_id; $p->title = $input->post->title; // set page title (not neccessary but recommended) $p->save(); //create the page // populate fields $p->message = $input->post->message; if($user->isLoggedin()) { $p->user = $input->post->user_id; } else { $p->fullname = $input->post->fullname; $p->email = $input->post->email; } $p->vessel_id = $input->post->vessel_id; $p->status = $p->status | Page::statusLocked; $p->save(); //save the populated fields $success = true; $mail = new WireMail(); // chained method call usage $mail->to('my@email.com')->from('some@email.com')->subject('Message Subject')->body('Message Body')->send(); } This is just to test email sending period. (The to and from emails are actually different ones that I have access to.) I've tried several times to submit inquiries and am not getting anything in spam or anywhere. I'm using XAMPP on OS X. I know email is complicated and not exactly a ProcessWire matter but do you guys know how I might be able to troubleshoot or resolve this? Surely others here have experience using wireMail() on similar setups... Thanks much.
  4. totoff

    Hi Forum, we moved an installation from the live server to localhost for further development. Unfortunately now PW doesn't find files in the /templates/ directory anymore (e.g. css, js and so on). Functions testing for existing files abort with an error and the console throws 404 for the files in question. Two developers have checked (so far several times): site/config.php $config->httpHosts .htaccess file permissions on /templates/ and all subdirectories (set to 777 just to be on the safe side) our own php functions Our version is 3.0.22 devns. We are running out of ideas. Any help is appreciated. Thanks.
  5. j00st

    Hi everyone! Although I've set up a couple of sites using Processwire now, I still run into typical 'Getting Started' errors - and I figured this is yet another one... On the previous site I built (locally and on a server) I had no problems with modules (downloaded them, placed them in the folder, installed, worked) but this time around two of the modules I want to use are not working. I'm using a textarea with Markdown (Parsedown Extra to be more precise - which works fine), but on the same textarea fields I want to use both the TextFormatterVideoEmbed (for YouTube & Vimeo) and the ImageTags (for embedding from the images field on the same page) Current situation for: VideoEmbed – Link is shown as link. ImageTags - Throws the following error Notice: Array to string conversion in ../site/modules/ImageTags/TextformatterImageTags.module on line 20 Should I use a different version of Markdown? (Haven't tried that - just realised it while typing this post...) I have the feeling I might be overlooking something really obvious, but I can't put my finger on it. Suggestions? Tips? Cheers!
  6. Hi everybody, So it turns out PW works on IIS pretty well. Had very little issues in getting it to run and not many issues in getting it setup.... in a localhost environment. I've been given a Windows Hyper-V server for the uses of my intranet that I've been building with PW. The only problem is now, I seem to be having issues whenever trying to log in. It doesn't recognize the admin user I created during installation, it simply redirects back to the /login/ page, with no error message. Debugging shows the following message on the frontend login screen (not the backend). Localhost does not show this When moving the dev machine to production, here are the steps I followed: Copied wwwroot from development machine to the production server Exported by site's database using SQL Front and importing on the production server Allowed access on the production server Edited site/config and wire/config to add in the hosts - appname.domainname.co.nz, localhost, 192.1.90.1 Now this is the real kicker: I can goto http://localhost on the production machine, and get full access and it works fine... However when I try using appname.domainname.co.nz, I keep getting this weird "blank" redirect. I would really appreciate any help anyone would be able to give me. I have looked all thru the PW forums for something similar around this to no avail.
  7. Hi there, I'm trying to set up different instances of our website so I thought I'd try it out locally first before deploying out to the real world. I'm interested in a multi-site/independent DB setup so I'm following the instructions (Step1 Alternative) in https://processwire.com/api/modules/multi-site-support/ The steps I've taken are : 1) I've copied my /site folder to /site-dev. 2) Modified index.config.php and moved it to the webroot 3) Modified config.php in site-dev and changed the DB credentials. I thought this was all the steps I needed to take but it didn't work. I've also added an entry in /private/etc/hosts for dev.localhost to point to 127.0.0.1 Is there something else I have overlooked? Thanks in advance! ------------------ index.config.php function ProcessWireHostSiteConfig() { return array( /* * Some Examples (you should remove/replace them if used). * Just note that the values must begin with 'site-'. * */ 'dev.localhost' => 'site-dev', /* * Default for all others (typically /site/) * */ '*' => 'site', ); } config.php $config->dbHost = 'localhost'; $config->dbName = 'SSS-Live';
  8. Peter Knight

    What's the best way to diagnose this and is there anything I should be looking for? I have a Diagnostics module installed and have a few notifications about optimizing blog tables. 9 seconds to expand one of my trees which has just 3 child pages. Saving, opening or editing a field or template takes between 5 to 9 too. Background / tech info The site is a duplicate of a previous site I completed so initially I wondered if there were any corrupt modules or templates etc. Having had a check, all the original modules and templates are installed fine. It's a 2.5.15 site running locally on PHP 5.6.2. I know it's Friday and my Mac and I are tired but 9 seconds is taking the biscuit
  9. louisstephens

    I was wondering if anyone has used forwardhosthq (https://forwardhq.com/) to serve a localhost to other users. I got it set up and working, but currently users can not log in and view the backend. What do I need to do to allow users to actually interact with the back end? Example host https://mychosenusername.fwd.wf
  10. Hi Everyone! I am new to processwire and this CMS looks better than some of the others I have seen. I have a question though. I want to design Processwire websites for clients. I will be creating the sites on my computer using Xampp and then I want to upload the finished site to a live server. What I'm confused about is should I install separate Processwire installations for each client and name them differently in Phpmyadmin. For example I would install Processwire and name it Process-Client A. Then I will install Processwire again and name the database Process-Client B. Would I be walking into a minefield if I did this? Thanks!
  11. So I'm trying to install processwire on my local testing server. I downloaded a fresh copy of the pw files into a local folder, then used dreamweaver ftp to upload them to a folder in WAMP. After hitting the "continue" button in the MySQL database/File permissions setup page, the install guide freezes for a long time and chrome just says "waiting for localhost" at the bottom left. Then, after a while, I get this blank processwire install page: Any ideas as to what is going on? I'm pretty sure I created a database table and user right. Here are the credentials I entered: DB Name: processwire DB User: godfrey DB Pass: ..... DB Host: localhost DB Port: 80 (changed from 3306) Also pretty sure I set up my user privileges right:
  12. Martijn Geerts

    Often I use the internal domain names ( in hosts file ) with the extension .local. Sites developing with that extension responds as it should in safari (mac). On Google Chrome however, the respond is very slow. It looks like Google wants to collect as much data posible and before the request is send to apache the data is send to mighty Google. Changing the extension from .local to .loc (in host file ) solves the lagging for me. Hopefully this post is helpful for people experience the same issue.