-
Posts
1,327 -
Joined
-
Last visited
-
Days Won
47
Posts posted by flydev
-
-
Hi, in before better answer, check this small thread from yesterday :
- 2
-
I dont know. To test an upgrade, just make a backup of your database, rename the directory Blog to .Blog (in site/modules path) and past the new Blog folder from the ZIP you downloaded from github, copy the content of modules/Blog/template-file folder in your templates folder, then go to in backend > modules then click Refresh and see what happen.
Edit:
It dont work. The module have some dependencies not fixed, it do not copy the content of certain files, and some problems appear due to namespace. We must wait comment from BitPoet.
- 2
-
5 hours ago, Rajiv said:
Module Version 2.3.9
From the module directory ?
if yes :
- uninstall it and reinstall this version : https://github.com/BitPoet/Blog/archive/dev-3x-compat.zip
- 1
-
Hello @Rajiv welcome to the forum.
Which version of the module have you installed ? It is the fork of @BitPoet linked there ? :
PS: for better support you must post directly to the support thread of the module.
-
also, consider buying PathFinder on your mac, you will have full control over your file system and will save you a lot of time. I am on a mac since september, and didnt opened the Finder since I tried this program.
- 2
-
Got it working, the cron task call the PHP script.
Now I am getting another exception, but I suspect my
codeMariaDB server - I will open a new thread, thanks for your help horst !QuoteError: Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
@Entil`zha could you update the module ?
- 2
-
Yes I refreshed the modules cache, but even more, I reinstalled it from scratch (PW, PwCron) but still getting the same error. I will try on a live server into one hour and will come back. Thanks again.
- 1
-
Thank you horst, I made the change, now calling the cron.php via CLI still give me this error :
QuoteError: Exception: SQLSTATE[HY000] [2002] No such file or directory (in /www/sites/skom/wwwroot/wire/core/ProcessWire.php line 308)
#0 /www/sites/skom/wwwroot/wire/core/ProcessWire.php(149): ProcessWire\ProcessWire->load(Object(ProcessWire\Config))
#1 /www/sites/skom/wwwroot/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config))
#2 /www/sites/skom/wwwroot/site/modules/PwCron/cron.php(15): require_once('/www/sites/skom...')
#3 {main}
-
Another try on PW 3.0.40, another error :
QuoteNotice: Undefined offset: 1 in [...]/wire/modules/Process/ProcessModule/ProcessModule.module on line 623
Notice: Undefined offset: 1 in [...]/wire/modules/Process/ProcessModule/ProcessModule.module on line 623-
ProcessModule: Invalid module name: PWCron
Someone has already tried this module ? if so, is it working properly?
-
-
-
1 hour ago, Pravin said:
Why is it throwing out the following error?
Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/pleasefi/public_html/clients/csdc-ganesh/clean-files.php on line 2
Fatal error: Namespace declaration statement has to be the very first statement in the script in /home/pleasefi/public_html/clients/csdc-ganesh/clean-files.php on line 2You need to remove the html code - first (<pre>) and last lines (</pre>) in your clean-file.php.
- 1
-
lets ping @horst
- 2
-
You could use $imageobject->width and $imageobject->height
So you will use it like that :
$square = $page->original_uploaded_image; echo ($square->width >= $square->height) ? '<img src="' . $square->width(500)->url . '" />'; : '<img src="' . $square->height(500)->url . '" />';
-
Check this discussion, can get you started :
- 2
-
Hi,
I have the following error on ProcessWire 3.0.40 / MySQL 5.6.28 / PHP 5.6.25 :
QuoteFatal error: Exception: SQLSTATE[HY000] [2002] No such file or directory (in /www/sites/skom/wwwroot/wire/core/ProcessWire.php line 308)
#0 /www/sites/skom/wwwroot/wire/core/ProcessWire.php(149): ProcessWire\ProcessWire->load(Object(ProcessWire\Config))
#1 /www/sites/skom/wwwroot/index.php(52): ProcessWire\ProcessWire->__construct(Object(ProcessWire\Config))
#2 /www/sites/skom/wwwroot/site/modules/PWCron/cron.php(15): require_once('/www/sites/skom...')
#3 {main} in /www/sites/skom/wwwroot/index.php on line 64And this error on another live site (ProcessWire 3.0.25 / MySQL 5.5.50 / PHP 5.6.24 :
QuoteError: Call to undefined function wire() (line 17 of [...]/public_html/site/modules/PWCron/cron.php)
-
try :
$items = $pages->find("template=event")->setTotal(100)->setLimit(10); echo $items->renderPager();
-
You can find an answer here :
-
Hitting the "Refresh" button could help here ?
-
You can read this thread :
- 2
-
Hi Jee,
if empty, the inputfield set himself with the right value on the page save(). Doing something like this should work :
// set outputformatting to false $page->of(false); // set the date field to an empty string $page->datenow = ''; // save the page, the date field should be updated $page->save(); // set outputformatting to true $page->of(true);
-
Another little info : memory_limit must be > post_max_size to prevent poorly written scripts for eating up all available memory.
And also the LimitRequestBody Apache's directive allows the user to set a limit on the allowed size of an HTTP request message body (set to 0 (illimited) by default).
- 3
-
On the details tab of the field, look at Inputfield Type option, you should be able to switch between textarea / CKEditor.
- 2
-
woohoo thanks you! how I missed that - its working
- 1
-
I thought that the core function was doing the job :
if(!is_array($options['exclude'])) $options['exclude'] = array($options['exclude']);
Anyway I tried to assign an array, it does not work. Really it drives me crazy lol
Unable to access Blog module backend
in General Support
Posted
@BitPoet
And about this question? an idea ?
Sorry Rajiv for the wrong link