xoops forums

MikeShane

Community Support Member
Posted on: 4/12 14:14
MikeShane
MikeShane (Show more)
Community Support Member
Posts: 144
Since: 2008/1/5 2
#1

APCal categories not working?

My system information
XOOPS Version XOOPS 2.5.9
PHP Version 5.6.30
mySQL Version 5.5.51-38.2
Server API cgi-fcgi
OS Linux
fsockopen On
post_max_size 64M
max_input_time 60
output_buffering
max_execution_time 30
memory_limit 256M
file_uploads On
upload_max_filesize 64M

APCal 2.21 Final




When trying to create new category this pops up

Access denied for user 'myservername'@'localhost' (using password: NO)

I can add events but can't add categories?
Any help on where to look

Mamba

Moderator
Posted on: 4/13 11:42
Mamba
Mamba (Show more)
Moderator
Posts: 10633
Since: 2004/4/23
#2

Re: APCal categories not working?

I'm afraid, I won't be able to help you with this particular issue due to time constraints.

But if you're interested, you can help by testing and reporting bugs on the new version that I'm working on, to update Apcal for PHP 7:

https://github.com/mambax7/apcal

This is ONLY for testing, and there will be bugs, but it would help to speed up the conversion by pointing them out.

Besides PHP 7 compatibility, Apcal would get namespaces and class autoloading.
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

MikeShane

Community Support Member
Posted on: 4/13 12:23
MikeShane
MikeShane (Show more)
Community Support Member
Posts: 144
Since: 2008/1/5 2
#3

Re: APCal categories not working?

Thanks I downloaded and will install later today
I'm building a social network site for music community, using user page module to allow bands to build their own page.

Mamba

Moderator
Posted on: 4/14 8:06
Mamba
Mamba (Show more)
Moderator
Posts: 10633
Since: 2004/4/23
#4

Re: APCal categories not working?

Quote:
I'm building a social network site for music community,

We might have some extra modules soon, that could help with that....
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

MikeShane

Community Support Member
Posted on: 4/14 11:57
MikeShane
MikeShane (Show more)
Community Support Member
Posts: 144
Since: 2008/1/5 2
#5

Re: APCal categories not working?

I could not get your new aocal to install
I get a white screen

djsherren

Just popping in
Posted on: 4/14 12:15
djsherren
djsherren (Show more)
Just popping in
Posts: 11
Since: 2010/11/18
#6

Re: APCal categories not working?

Can't get past the installation. Getting the following error. Would appreciate advice.

"Error : Error: Class 'ApcalUtility' not found"

Changed the PHP version on my WAMP server from 7.0.0 to 5.6.16 and this more detailed error message came up.

"Fatal error: Class 'ApcalUtility' not found in C:\wamp64\www\testsite\modules\apcal\include\oninstall.php on line 40"

Running WAMP server 3.0.0 as localhost.XOOPS Version XOOPS 2.5.9
PHP Version 7.0.0 / 5.6.16
mySQL Version 5.7.9
Server API apache2handler
OS WINNT
fsockopen On
post_max_size 512M
max_input_time 60
output_buffering 4096
max_execution_time 120
memory_limit 1024M
file_uploads On
upload_max_filesize 1024M

Mamba

Moderator
Posted on: 4/14 21:20
Mamba
Mamba (Show more)
Moderator
Posts: 10633
Since: 2004/4/23
#7

Re: APCal categories not working?

djsherren, thanks for testing. I see the issue, and it will be soon fixed. I'll keep you posted when I fix it and upload it.

You can also click on the "watch button" on GitHub, so you get automatically notified when there are updates.
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

djsherren

Just popping in
Posted on: 4/15 0:34
djsherren
djsherren (Show more)
Just popping in
Posts: 11
Since: 2010/11/18
#8

Re: APCal categories not working?

Mamba,

Thanks for the feedback and the suggestion on how to watch the repository for changes.

Will give the module another test when the revisions are available.

Dennis

Mamba

Moderator
Posted on: 4/15 2:11
Mamba
Mamba (Show more)
Moderator
Posts: 10633
Since: 2004/4/23
#9

Re: APCal categories not working?

Apcal 2.23_Beta-1

The update is available - the installation should work now.

https://github.com/mambax7/apcal/releases/

Again, thanks for testing and for providing feedback.
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs

djsherren

Just popping in
Posted on: 4/15 23:02
djsherren
djsherren (Show more)
Just popping in
Posts: 11
Since: 2010/11/18
#10

Re: APCal categories not working?

Mamba,

Thanks for the quick revision. Thought I would share a couple of minor bugs found on initial examination:

Apcal installed successfully but the following error message appeared on installation.

"Template apcal_getCoords.tpl added to the database(ID: 96)
Template apcal_getCoords.tpl compiled
ERROR: Could not insert template apcal_getCoords.tpl to the database."

Not sure what this error indicates.

The google maps display correctly on the monthly calender page and the event entry page but do not display correctly when viewing event detail. The following error message displays:

Oops! Something went wrong.
This page didn't load Google Maps correctly. See the JavaScript console for technical details.


Tinkered with the template that displayed the event detail page, apcal_event_template.tpl and it appears that the map api key has not been assigned a value in this template. Line 51 --- $api_key

When a valid map api key is hard coded into the template file, the map will display properly.

That is all I can get to today. Will dig for more bugs in the next few days.