Giter Site home page Giter Site logo

extcal's People

Contributors

alain01 avatar djculex avatar geekwright avatar ggoffy avatar gregmage avatar imgbotapp avatar mambax7 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

extcal's Issues

Error as anonymous

When I want to see the calendar (modules/extcal/view_calendar-month.php) as anonymous, I get this error:

Error : TypeError: Argument 1 passed to ExtcalPerm::getAuthorizedCat() must be an instance of XoopsUser, string given, called in /modules/extcal/class/cat.php on line 206

Error templates

Avertissement: xoopsOption['template_main'] should be defined before including header.php dans le fichier /footer.php ligne 58

Serch error

Avertissement: cal_days_in_month(): invalid date dans le fichier /modules/extcal/view_search.php ligne 99

rss error

When I click on the rss button (/modules/extcal/rss.php?cat=0), I get this error:

This page contains the following errors:

error on line 49 at column 1: Extra content at the end of the document

Creating a category

The problem is when creating a category:
Notification: Undefined variable: k in the file /modules/extcal/admin/cat.php line 29

Hourloge from minical block

Hey there. While making the lasius module I had problems with the hourloge getting a 440. I found that in the minical.php block the line 228 & 229 used

$horloge['display'] = ('' != trim($options[10])); $horloge['fullName'] = XOOPS_URL . _EXTCAL_PATH_HORLOGES . $options[10];

and the hourloge in my example worked by changing option[11] to [10]

$horloge['display'] = ('' != trim($options[10])); $horloge['fullName'] = XOOPS_URL . _EXTCAL_PATH_HORLOGES . $options[10];

Cosmetic

Just some cosmetic issue in few pages.
Like here : XOOPS/XoopsCore25#649
For exemple, in admin page, icones action on the right, there is a link for a space between each icones.

I cant propose commit before tonight or tomorrow

You must remove the date format from the preferences!

It doesn't make sense to suggest a date format in the module preferences! If you use a multilingual site in English and French, the format will be the same for both. The format is not the same in these two languages. We have to let xoops handle this and remove this option from the preferences. We can add a define in the translation if you wish to have a personalization.

Anonymous user access problem.

Anonymous user access problem.
TypeError: Argument 1 passed to ExtcalPerm::getAuthorizedCat() must be an instance of XoopsUser, string given, called in /modules/extcal/class/cat.php on line 225

Error: Call to a member function getVar() on bool

when installing the module, i received this error
Error : Error: Call to a member function getVar() on bool

Error: Error: Call to a member function getVar() on bool in file /class/libraries/vendor/xoops/xmf/src/Module/Helper/GenericHelper.php line 168

the module is isntalled but i received this error during install

eXtCal 2.40 RC 3 (07/09/2020)

XOOPS Version XOOPS 2.5.11-Beta2
PHP Version 7.4.21
MySQL Version 5.5.5-10.4.20-MariaDB

Default rights with sample datas

With the sample data :
For the both categories : admins group has no premission to view
So, when i clicked on an event, on the /modules/extcal/admin/event.php page, nothing appears.

All is ok if i put manually the permission on the categories.

No problem with empty datas on fresh install
I can add a category and the permission is ok for admins group.
So, just with sample data.

Internal server error

I installed the module extcal into a subdomain. All installation process where completed without any problem. Then I did go to preferences and changed some fields and after submit I got the white screen with the following error.

Error: Handler does not exist

Module: extcal
Name: cat in file /include/functions.php line 87

xoops installed on a subdomain in siteground.
XOOPS Version XOOPS 2.5.8
PHP Version 5.6.24
mySQL Version 5.6.28-76.1-log

Other modules installed pm, profile. They access fuctions.php without problem.
I installed version 2.5.8 and the module extcal in a XAMPP for testing and all is working fine.
Please help.
I verify that class cat.php exist and the module extcal is in the database table modules

call to a member function getvars() on bool in ExtcalPersistableObjectHandler line 596

Adding the check for 0 value seems to fix it. Error popped up in events and categories if none existed.
org : if (null !== $object) {

changed:if (null !== $object && $object != 0) {

/**
* @param $object
* @param string $format
*
* @return array
*/
public function objectToArrayWithoutExternalKey($object, $format = 's')
{
$ret = [];
if (null !== $object && $object != 0) {
$vars = $object->getVars();
foreach ($vars as $k => $v) {
$ret[$k] = $object->getVar($k, $format);
}
}

    return $ret;
}

Waiting event does not appear in the administration

Hello !

eXtCal 2.40 Beta 2 (but idem with 2.39 final)

When an event is not automatically validated, it does not appear in administration. It is nowhere in the admin, impossible to validate, edit or anything ...
But it is present in the database
Thank you for your help !


XOOPS 2.5.10
PHP 7.2.24
mySQL | 5.6.41-log

2.39 ?

i see 2.39 in pull request

will this be merged ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.