Peter Knight
Members-
Posts
1,377 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Peter Knight
-
Odd charachters - database collation?
Peter Knight replied to Peter Knight's topic in General Support
Thanks for the suggestions everyone and @FrancisChung for the link. I eventually solved this the hard way by manually correcting all the foreign characters. As it was a live site and in use I didn't have the luxury of gradually eliminating each Module or a more methodical approach. -
Could anyone using this Module to notify multiple email addresses please confirm the correct format? IE Emails separated with a comma (and no spaces) person01@email.com,person02@email.com,person03@email.com Emails separated with just a space person01@email.com person02@email.com person03@email.com Emails separated by both a comma and a space person01@email.com, person02@email.com, person03@email.com Client is asking after getting mixed results and trying all three. Thanks
-
Having an issue here too after upgrading from PW 3.X to PW 3.0.44 Firstly I was getting an error about the width of a crop so I replaced the entire site>modules>CroppableImage3 folder with the latest 0.9.17 Now I'm getting the following error Error: Uncaught Error: Call to a member function getCrop() on null in /var/www/vhosts/site.com/httpdocs/site/templates/blog-post.php:104 Stack trace: #0 /var/www/vhosts/site.com/httpdocs/wire/core/TemplateFile.php(268): require() #1 /var/www/vhosts/site.com/httpdocs/wire/core/Wire.php(374): ProcessWire\TemplateFile->___render() #2 /var/www/vhosts/site.com/httpdocs/wire/core/WireHooks.php(682): ProcessWire\Wire->_callMethod('___render', Array) #3 /var/www/vhosts/site.com/httpdocs/wire/core/Wire.php(402): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #4 /var/www/vhosts/site.com/httpdocs/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #5 [internal function]: ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #6 /var/www/vhosts/site.com/httpdocs/wire/core/Wire.php(376): call_user_func_array(Array, Array) #7 /var/www/vhosts/site.com/httpdocs/wire/core/WireHooks.php(682): ProcessWire\Wire->_callMethod('___ (line 104 of /var/www/vhosts/site.com/httpdocs/site/templates/blog-post.php) This error message was shown because: you are logged in as a Superuser. Error has been logged. Any suggestions on this one?
-
Hi guys I had to uninstall a few Modules today and noticed that some of my pages now display weird characters as a result of this. For example, this is displaying as... I understand a tiny about databases and this may be something to do with the Database Type and Collation? Currently I have Type = MYISAM Collation = utf8_general_ci I've used this setup before and never had these issues. Can anyone advise? I realise there are tons of StackOverflow topics covering this but was hoping for a super-simple instructions for a non database guy. Thanks
-
Hey Paul I can't recall what I did in the end. I haven't edited that site in a long time. I might have over-ridden the 1px width manually or just live with it. Which version of PW are you experiencing this on? I encountered the issues again on a recent site so I'll look into it again.
-
Hi @Mike Rockett If I have 2 non ProcessWire files on my site and want to redirect A to B, will PW handle that for me? I'm guessing not and that I need to manually edit their html or the .htaccess file? Just assumed that they would be redirected as even though they're not PW pages, they're served up within a PW site.
-
Nothing showing in the browser console but the following flashed briefly in the admin Notifications Module Module 'ProcessChangelogHooks' dependency not fulfilled for: ProcessChangelog 13 secs 404 occurred: /wire/templates-admin/styles/AdminTheme.css.map 22 secs / expires 8 secs 404 occurred: /wire/modules/AdminTheme/AdminThemeReno/styles/blue.css.map I don't think ProcessChangelogHooks is V3 compatible so I've deleted it from the Modules. I still get the error re the dependency but not sure if that's the cause
-
Here we go... I'm guessing this isn't normal. ProcessPageEdit.execute() 56.2027 boot 0.5654 - includes all boot timers boot.load 0.4976 - includes all boot.load timers boot.load.modules 0.0750 boot.modules.autoload.init 0.0423 boot.load.fieldgroups 0.0298 boot.load.fields 0.0272 boot.modules.autoload.ready 0.0159 ProcessPageView.getPage() 0.0083 - /processwire/page/edit/ boot.load.pages 0.0062 boot.load.templates 0.0035 boot.load.fieldtypes 0.0002 boot.load.permissions 0.0001 boot.load.roles 0.0000 boot.load.users 0.0000 boot.load.session 0.0000 To add more timers here… Debug::timer('timer-name'); // start timer, you make up the name execute_some_code(); // any amount of code you want to time Debug::saveTimer('timer-name', 'optional notes'); // stop and save timer
-
Sorry LostKobrakai - I'm not sure where you mean Is that some information outputted by TraceyDebugger or a file within /site/core ?
-
Hi guys I've a PW site running real slow in the back end and was wondering about diagnostic tools. It's fine on the front end but takes about 12+ seconds to even load a page once I click edit. I often get 504 Gateway Time-out messages too. I have Tracey Debugger installed but I'm not really sure which options I need to check etc. Having cherry-picked a few and loaded a page in the front end, I only have one error (a missing include file) which doesn't affect my site. PHP 7.0.12 PW 3.040 MySQL: 5.5.41-1 Any tips? Thanks Peter
-
Fatal error: 'ModuleJS' not found after Upgrade to PW 3.034
Peter Knight replied to Peter Troeger's topic in General Support
Hey Peter I had the same issue this week. Can confirm that manually replacing the entire wire folder will work. -
Good luck with it. 3.X is such a great release I didn't want to stick with 2.7 (as great as that is too).
-
>> Is that a setting in the php.ini file? I did it through a UI in the Plesk control panel but I think that it writes to a php.ini file >>Incidentally from which version to which new version were you upgrading PHP to? 5.5.38 to 5.6.25
-
All working now. Seems to have been a few issues. In case this is helpful to anyone ... Manually download 3.0.33 and manually upload .htaccess, indepx.php and /wire/ Login to site and I noticed a few Modules updating I'd over looked that the Live site had been running 2.X so that was definitely a factor I upgraded PHP on the Live site to a higher version and noticed too that short tags needed to be enabled All those combined seem to have fixed it. Luckily I had full backups of everything before I started (phew!).
-
Hi guys I have a Test site on a VPS and a Live site on a VPS both running 3.0.33* (see follow up post below) . Upon moving the test site to the live site, I get a message as follows There's 2 strange behaviours here: Odd thing 1 The only error logged in the errors.txt is this: Oddly enough, that file and directory doesn't exist on the working test site either. Odd thing 2 I can get the live site working again by re-importing the database at which point the front end looks and works fine. However, once I am in the Admin area and browse to, say Setup>Upgrades, the Admin and live site throw the Internal Server Error That's kind of weird right? P
-
Hi Mike Are the number of Jumplinks displayed in the Jumplinks manager capped at a certain point? I noticed there was no pagination (good) and wondered if it only shows first 250 etc
-
Cheers Adrian I'll try that. Oddly enough, an update to last Fridays 3.0.33 got the module working again on this problem server.
-
I have 2 sites running LoginNotifiers on 3.0.32 One of them refuses to send an email when there is a login even though they're both identical servers with the same host. I've no errors in the error logs. The LoginNotifier specific log found under assets/logs/LoginNotifier.txt successfully records logins. Any ideas on why 1 site may fail and 1 works?
-
@horst It's great to see croppableImage back and available again for 3.X Is this version here to stay or is there a risk that upcoming changes to get to 3.1 will break functionality?
-
That's a pretty generous allowance. I presume you could have multiple single-plan accounts if the client themselves signed up and you managed the service.
-
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 look into this? To be able to specify a NOINDEX or NOFOLLOW on a page by page basis would be great. I know the original request on GitHub is quite old but it's still a feature that IMHO would really enhance the Module. -
That looks nice. I use Uptime Robot and it's been enlightening how much downtime one of my shared accounts goes down. The email feature IMHO is the most useful part.
-
FieldtypeSelectFile & InputfieldSelectFile
Peter Knight replied to Martijn Geerts's topic in Module/Plugin Development
Hey @Martijn Geerts No worries. In the end I upgraded and it worked with PW 3.X Soon after testing it, the project I was working on required functionality outside of the Modules scope. Thanks for replying though. -
MarkupSEO - The all-in-one SEO solution for ProcessWire.
Peter Knight replied to Nico Knoll's topic in Modules/Plugins
I'm running 0.8.7 right now and it doesn't seem like you can specify on a Index, noindex, follow, nofollow etc on a page by page basis. These setting should be showing up on the SEO tab of any page, right? -
Hey Robin I don't want to move the dependent files around as each client also calls those files in an iFrame. They're not using PW so I need to keep 'em alone. I'm pretty sure I could hook up all the dependent files if I only had a field type that allowed me to freely browse through my public_html directory.