-
Posts
2,318 -
Joined
-
Last visited
-
Days Won
2
Everything posted by pwired
-
Hi, I was fiddling with php sleep(); but it seems it doesn´t work the way it is explained on php.net and w3schools ! Something so simple like this: sleep(3); // sleep 3 seconds echo "wake up"; sleep(3); echo "hello world"; sleep(3); It doesn't work at all ! What it does is echo all the text strings at once and sleep(3); never enters the equation. Digging further I found that it has something to do with output buffer and need to flush the output buffer with ob_flush() That doesn't work neither. It is not that I am in the need for this sleep(); but it is quite frustrating that something so simple doesn't seem to work. I would love to read from somebody how this is done properly.
-
Hi Michkael and welcome to processwire, There is already a truckload with answers for beginner questions: https://processwire.com/docs/tutorials/ https://processwire.com/docs/tutorials/hello-worlds/ https://processwire.com/docs/tutorials/but-what-if-i-dont-know-how-to-code/ https://processwire.com/docs/tutorials/simple-website-tutorials/the-basic-website/ http://processwire.com/talk/topic/2296-confused-by-pages/ http://processwire.com/talk/topic/5667-help-a-noob-get-started/page-2#entry55820 https://processwire.com/talk/topic/4173-grouped-forum-posts-links-articles-tutorials-code-snippets/ Outside the forum https://www.benbyford.com/articles/processwire-tutorials/ https://webdesign.tutsplus.com/tutorials/search/processwire https://www.smashingmagazine.com/2016/07/the-aesthetic-of-non-opinionated-content-management-a-beginners-guide-to-processwire/ Youtube https://www.youtube.com/watch?v=IHqnLQy9R1A http://processwire.tv/
-
Leaflet on Github, or Processwire Plugin?
pwired replied to franciccio-ITALIANO's topic in Getting Started
Seems this library is made by the same person who also made deadsimple css grid, https://processwire.com/talk/topic/5948-dead-simple-grid/ Respect, this guy is coding really quality products. I definitely can recommend to try this library. -
Here is an old post with some solutions that might put you in the right direction: https://processwire.com/talk/topic/552-i-get-the-404-page-when-editing-home-page/
-
Did you lose for some reason permission in admin template ? Check if you have to add "useRoles":1 in data for admin template.
-
Did you install processwire this time in the root or again in a subfolder ? I am running out of ideas, maybe an eperienced coder will step in and have more ideas.
-
That error means you have an object or variable missing or it's value missing
-
How long can it take to install a fresh new processwire installation and copy back the site folder and database, 10 minutes ??? That is of course your problem is not lurking somewhere (e.g. a typo) in your templates or corrupted database record.
-
Did you install Adrians debugger ? This one has become really sophisticated lately. Recommended and good chance it will show up something for your admin problem. https://modules.processwire.com/modules/tracy-debugger/
-
Did you set $config->debug = true ?
-
Sometimes searching for the cause of a problem can take more time than installing a fresh new processwire installation, and copy back the site folder and database.
-
Ok try echo $config->urls->admin; shows up ok ?
-
Check this helper page: http://processwire.com/docs/tutorials/troubleshooting-guide/page3
-
Your back end doesn't get loaded at all, check your processwire setup. edit: I see your backend is back again ?
-
Hi Manuel, Are you having this issue only with this page ? What about the other pages, does the delete tab show up normally there ? If you create another test page, does the delete tab show up then normally ? I have never seen a setting to hide a tab for a user group, you would need a module for this. https://processwire.com/talk/topic/4680-block-access-to-settings-delete-and-view-tabs-for-page/ For the moment you can use this simple api delete code to remove that contact page and then after recreate that page and see if the delete tab is there again: $thispage = $pages->get('/contact/'); $pages->delete($thispage); // or $pages->trash($thispage);
-
Delete web by mistake and I need to recover it
pwired replied to colinosoft's topic in General Support
A complete backup is the database and the site folder which holds the assets, modules, and templates folders. If you remember the processwire version you used it would be easy enough to extract a new modules folder. Maybe add some missing modules you were using for your website. But you would miss the assets folder. The assets folder holds for example the pictures you used on your website. But even that could be restored if you still have the used pictures somewhere on a computer. You would have to reupload them to the back end of processwire. So yes you could have restored again your website but it certainly would take some time. I recommend to use both cpanel backups and also ssh to schedule making backups of your websites on your own local computer. -
Delete web by mistake and I need to recover it
pwired replied to colinosoft's topic in General Support
I guess your hosting company is your only hope for still having scheduled backups. If they are there you should find them with CPanel. -
Remote freelance required for static site to processwire conversion
pwired replied to saverio.eyra's topic in Jobs
Hi Olsa, Looking at the pages and page sources, these websites are beautiful conversions, nice clear coded. -
Here's some news about Google going to change it's green padlock indicator for https connections. Around the month September Google is going to change it's https secure indicator. Instead of a green padlock for a secure https, in september it will phase out to a grey padlock and in october to no padlock at all. From then on Google will show a warning in red color: "Not secure" when entering data on a none https page. You can read more about it on google's Blog: https://blog.chromium.org/2018/05/evolving-chromes-security-indicators.html ----------------------------------------------------------------------------- keep coding and Happy week-end, ?
- 1 reply
-
- 7
-
-
If anyone is interested to know more about REST API, here's a nice tutorial: http://www.restapitutorial.com/
- 8 replies
-
- 2
-
-
- self improvement
- mooc
-
(and 2 more)
Tagged with:
-
I guess that made it confusing.
- 7 replies
-
- 1
-
-
- processwire
- job
-
(and 1 more)
Tagged with:
-
I use the thunderbird email client with some plugins. Keeps everything in da house. My isp allows me to send out 1 email per second. More than enough for most small businesses.
-
Hi Fantomas, Thanks for jumping in. No it's just that in the past I was obsessed with css grids because I couldn´t code my own css grid. I must have tried all css grids out there. Nowadays, the more I write my own css grid, the less I see the overkill use of a css grid such as bootstrap or uikit, etc. The only use I still see for css grids like bootstrap, uikit, etc. is when you are working together with a group of coders where a consistent way of working is needed on the same project.
-
Thanks at wbmnfktr for posting that article. Good read from the real, and good examples of reactions to the growing EU tentacles.
-
Hi @ Fantomas, On your website you are using a bootstrap css compiled down to only 7kb, so what's inside that is still of some advantage compared to hand coded css ?