Peter Knight
Members-
Posts
1,384 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Peter Knight
-
It's one of those mornings! I'm trying to restore a PW site after a VPS crash over the weekend and step 01 is to copy all the root PW files and site over to a test server. Actually, it's a restored version of the crashed VPS. When I copy over the files and load up the domain, I am getting a very weird collection of characters. Viewed on the VPS I get Chinese characters while on the localhost I get the following I'm not expecting the site to work right now as I've yet to import the database but I did'nt think I'd see the above and have never seen this before. It's not a hacked site by any chance?
-
Hi Dave The host just reverted with I'm chasing them for a backup. I normally do my own backups but this server was so new I'd yet to setup any automation.
-
Hi One of my VPS had a meltdown at the weekend. The host suggested I FTP into a partition where my sites are temporarily located. I have 4 PW sites on this server and all of them seem intact in terms of the directory structure etc. 1 site in particular though has an empty /site/ directory Normally I'd expect to find assets, templates and files etc in there Does this signify a bad backup on the hosts behalf or some corruption or maybe a hack? I've never heard of it before and it seems very odd.
-
I get that a lot when trying to sign in via some automatic password apps. I think it's also because some of my sites are based on similar setups and share AuthSalt keys. Same here?
-
Error exporting / importing database
Peter Knight replied to Peter Knight's topic in General Support
Just a quick update on the error above I crossed out. This seems to be an unrelated error caused by 1. The proper URL being redirected to a www URL due to .htaccess settings that are appropriate to the live site but won't work on the test site 2. The actual error message is not related to the test domain. When it says "/var/www/vhosts/websitedomain.com/httpdocs ...", that domain (websitedomain.com) is my plesk Hostname. Beats me why it throws this up but tweaking the .htaccess file to not direct to www works and I can edit my site etc. -
Error exporting / importing database
Peter Knight replied to Peter Knight's topic in General Support
I had some success and then another issue. I used the module Horst mentioned to create a backup and export of the database from my live site. When I tried to import this database via phpMyAdmin, I had a slightly different error #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSERT INTO `caches` (`name`, `data`, `expires`) VALUES('Modules.wire/modules/',' at line 2 Within the Plesk UI, I can import a database dump. Doing it this way didn't throw any errors at import New issue I'm unsure if this is related and wether it's an issue at the export or import stage. When I try to edit a page on my test site, I get this error regarding ProcessAccessOverview.module -
Error exporting / importing database
Peter Knight replied to Peter Knight's topic in General Support
1 the database I think. I select all the tables in phpmyadmin and export as a sql file 2 database. I create a new blank database and the import my SQLite file into that blank database 3 yes. When an import fails I drop the tables that partially imported 4 . Phpmyadmin -
Hi guys I'm trying to duplicate a ProcessWire site on a different server so I can work on it. The good news is the live and the test servers are identical VPS. I already have multiple PW sites running on both. I can export the DB from the Live server but when I try to import to Test server I get the following error. Am I correct in thnking this error in the SQL syntax is being generated at the export stage? IE my Live PW site wouldn't be working with a syntax error so I must be messing up the export of the .sql file There is nothing at line 48 but a find command shows CREATE TABLE `fieldtype_options` ( `fields_id` int(10) UNSIGNED NOT NULL, `option_id` int(10) UNSIGNED NOT NULL, `title` text, `value` varchar(255) DEFAULT NULL, `sort` int(10) UNSIGNED NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; BTW, my server setup is: Version Plesk v12.5.30_build1205150826.19 os_CentOS 6 OS CentOS 6.3 (Final) MySQL: 5.5.41 PHP: 5.6.19
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
Ok, thanks. It's 0.8.4 which is showing at the moment. -
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
Thanks Nico. Forgive my ignorance on the GitHub process but do we have to wait until the official package is updated to use this? -
Ok I've found the culprit. When an image has a caption, the .figure selector, for some reason, has a 1px width in contents.css of the CK Editor CSS figure { display: table; width: 1px; margin: 1em 0; } I'll check my other sites later. Just to clarify - this is in the Admin itself. It's not a style I applied although if it's not what you all have them I'm curious how it got there.
-
Will do although the picture DO appear when I view the saved pages through a browser. It's only in the Admin when a caption is added that they don't appear in the Body field. I'll check the database though. Might be a clue there.
-
Hi guys. In case it's helpful for anyone to know, I solved this issue. Client had created an incorrect redirect using the JumpLinks module.
-
Sorry - I was heading out and a bit speedy on the Submit butto. Details below. I have a site running on the same server with the same* PW version and Modules running which doesn't experience this issue. Having said that, Site B is throwing an error in the Admin of following. Probably a separate issue? ProcessWire: 3.0.12 devns Image Modules: Images with cropping - V.1.0.3 FieldtypeCroppableImage - 0.8.3 Image Cropping tool - 1.0.2 ProcessCroppableImage - 0.8.4 Server: VPS running CentOS 6.3 (Final)PHP version: 5.6.19 running PHP as Fast CGI application served by ApacheMySQL: mysqlnd 5.0.11-dev - 20120503
-
The Body field of my site has recently stopped displaying images in the Admin / Editor side. It seems to happen when I include a caption with the image. Otherwise the image displays as expected. There are no errors in the log though.
-
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
Hi Nico Did you ever get a chance to consider this feature? Ability to set NOFOLLOW and NOINDEX on a page level and over-ride any "master" settings applied in the Module settings page? I know you're busy etc. Just a friendly reminder -
I think I've some dedicated audio software for that. Certainly my guitar recording comes bundled with it. I saw one of those today in the shops. Might look into that or the Apogee mic: http://www.apogeedigital.com/products/mic
-
Hi guys I know some of you here make your own YouTube videos etc. I've started to make a short ProcessWire video and wondering what you recommend microphone wise? I'm very comfortable with audio production etc and I have a background (hobby) in music / guitar playing etc But have never recorded my voice for a YouTube demo etc. I was wondering if you'd absolutely recommend a "proper" USB mic etc?
-
I seem to have a page called sitemap but the template it's based on is a generic basic page and not specifically a sitemap version. I can't recall where that page came from or why it was created as my understanding of this template is that you simply install it and it'll create the /sitemap.xml Just looked at my other sites with working sitemaps. None of them have dedicated sitemap templates or even pages with the admin or require those to work. Based on that, I'm a bit baffled.
-
I'm currently getting a 404 when i try to access domain.tld/sitemap.xml Actually, that URL results in the address refreshing to http://sitemap.xml/ My 404 page template (which I believe this sitemap uses) has no trailing slash enabled so I don't think it's the same issue. Google WMT is telling me too that there's an issue with the sitemap. Any pointers on where to look?
-
On my current site (non PW) we have a number of users setup who can view private html pages. They have no access to the Admin but have access to a private section assuming they login via a front end form. That's the plan for Saturday Imagine I'll get sidetracked with playing with the new Media Manager module though!
-
Hi Arjen Im reading the multi-site docs and it mentions Is this incorrect? I'm hoping that multi-site shares users (for this site).
-
I think this is down to the blog-posts being applied to 2 pages. Both Blog and Posts are using this template so that's my mistake!
- 1 reply
-
- 1
-
-
- Blog
- Pagination
-
(and 2 more)
Tagged with:
-
One of my blogs seems to be accessible from multiple URLs and it's affecting my clients SEO. For example, using the following URL structures, I can access the same page. http://www.domain.not/blog/page2/ http://www.domain.not/blog/posts/page2/ The correct one is probably the second one as all posts are children of blog. My actual blog structure is as follows Blog - Posts -- Post A -- Post B -- Post C (etc) - Tags - Categories I have pagination enabled on a template called blog-posts which is applied to the Posts page. I'm not sure though why the double URL is occouring?
- 1 reply
-
- Blog
- Pagination
-
(and 2 more)
Tagged with:
-
@ Clarkey1891 Have you had any issues with MailGun's reports dashboard? I notice that although my mails are sending, the stats dashboard doesn't log this. Possibly it's because I'm using an unverified domain (no DNS records have been updated) but wondered if yours was working ?