Jump to content

benjaminE

Members
  • Posts

    28
  • Joined

  • Last visited

Everything posted by benjaminE

  1. Hello, I'm trying to write an if statement which queries whether a given page - identified by that page's title - has any children. I've tried various things, the most hopeful being: $info = $pages->find("title=previous caption winners")->children; if ( $info >= 1 ) { //do stuff }; but to no avail. This seems like a fairly simple task but I've had no success despite my efforts to find answers here and elsewhere. Any help would be greatly appreciated. All thanks, ben
  2. Hi onjegolders, You know I thought I'd tried that, but I did it again and it worked. I just uncommented that first line: RewriteBase / So I'm very pleased, thank you so much!
  3. Hello. I'm having a little trouble moving a site I've been working with on a local XAMPP server to a testing server on a sub-domain (hosted with GoDaddy). I've tried two methods of moving the site: (1) Using the Site Profile Exporter module, and (2) copying over the database and moving the site. With both methods I get the same result, namely: the landing page - ie, [subdomain].[siteaddress].com - works fine but as soon as you attempt to follow any of the links or directly access on of the sub-pages - ie, [subdomain].[siteaddress].com/[something] - the browser throws out a 500 Internal Server Error page. I've spoken to GoDaddy and they tell me that there's nothing wrong on their end. I've also tried a fresh intall of processwire and get the same problem. For example, when I attempt to access the log in page I get the same error message. I'm relatively new to MySQL and running CMS sites and so it could very well be that I'm missing something quite basic - perhaps owing to the fact that I'm running it on a sub-domain - but essentially I can't figure out how to proceed. Any thoughts on what I might try woudl be warmly appreciated. Many thanks in advance!
×
×
  • Create New...