Loading...
 
Skip to main content

Category: Error

error message, broken, etc
A bug is something which doesn't work like it should. It is an obvious error.
This category was probably used as a fallback for bugs which did not fit other Bug subcategories before the general Bug category was created.
Error
Show subcategories objects

Name Type
Error with composer switching branch from 16x to 17x
On a Tiki 16.3 I did :
{CODE()}svn switch https://svn.code.sf.net/p/tikiwiki/code/branches/17.x .{CODE}

Then I did:

{CODE()}sh setup.sh{CODE}
Option c to update composer.

[ErrorException]
rename(/root/.composer/cache/composer-temp.phar,temp/composer.phar): No such file or directory

I retried, did another try on a different tiki after I deleted the folder "vendor" before switching. Same.

I deleted manually "composer.phar " and retried.

The error is gone but another came up:

- Installing matthiasmullie/minify (1.3.44): Loading from cache

[ErrorException]
file_put_contents(/var/www/virtual/xn--8dbcma7a7ale.com/bin/minifycss): failed to open stream: No such file or directory

In /var/www/virtual/xn--8dbcma7a7ale.com/bin/ I have wrong symlink:

lessc -> ../vendor/oyejorge/less.php/bin/lessc
minifycss -> ../vendor/matthiasmullie/minify/bin/minifycss
minifyjs -> ../vendor/matthiasmullie/minify/bin/minifyjs

I corrected minifycss and minifyjs to look into "../vendor_bundled/vendor/matthiasmullie/..."

Run setup.sh again and it complete the instal with 2 last warning:

- Applying patches for adodb/adodb-php
../installer/composer-patches/adodb-php__remove_references_to_adodb_extension.patch (Remove references to ADOdb Extension)
Could not apply patch! Skipping. The error was: Cannot apply patch ../installer/composer-patches/adodb-php__remove_references_to_adodb_extension.patch
../installer/composer-patches/adodb-php__remove-the-check-if-the-adodb-php_ext-is-enabled.patch (Remove the check for ADOdb Extension)
Could not apply patch! Skipping. The error was: Cannot apply patch ../installer/composer-patches/adodb-php__remove-the-check-if-the-adodb-php_ext-is-enabled.patch

- Installing jquery/jquery-sheet (3.1): Loading from cache
- Applying patches for jquery/jquery-sheet
../installer/composer-patches/jquery-sheet_fix-visibility-issues.patch (Fix visibility issues)
Could not apply patch! Skipping. The error was: Cannot apply patch ../installer/composer-patches/jquery-sheet_fix-visibility-issues.patch

I though it was done but no:

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /var/www/virtual/xn--8dbcma7a7ale.com/vendor_bundled/vendor/symfony/dependency-injection/Container.php:170 Stack trace: #0 /var/www/virtual/xn--8dbcma7a7ale.com/temp/cache/container.php(33): Symfony\Component\DependencyInjection\Container->set('service_contain...', Object(TikiCachedContainer)) #1 /var/www/virtual/xn--8dbcma7a7ale.com/lib/init/initlib.php(84): TikiCachedContainer->__construct() #2 /var/www/virtual/xn--8dbcma7a7ale.com/lib/tikilib.php(59): TikiInit::getContainer() #3 /var/www/virtual/xn--8dbcma7a7ale.com/installer/tiki-installer.php(741): TikiLib::lib('smarty') #4 /var/www/virtual/xn--8dbcma7a7ale.com/tiki-install.php(96): include_once('/var/www/virtua...') #5 {main} thrown in /var/www/virtual/xn--8dbcma7a7ale.com/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170

---

I check on tiki install side after entering credentials, same :

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".' in /var/www/virtual/xn--8dbcma7a7ale.com/vendor_bundled/vendor/symfony/dependency-injection/Container.php:170 Stack trace: #0 /var/www/virtual/xn--8dbcma7a7ale.com/temp/cache/container.php(33): Symfony\Component\DependencyInjection\Container->set('service_contain...', Object(TikiCachedContainer)) #1 /var/www/virtual/xn--8dbcma7a7ale.com/lib/init/initlib.php(84): TikiCachedContainer->__construct() #2 /var/www/virtual/xn--8dbcma7a7ale.com/lib/tikilib.php(59): TikiInit::getContainer() #3 /var/www/virtual/xn--8dbcma7a7ale.com/installer/tiki-installer.php(741): TikiLib::lib('smarty') #4 /var/www/virtual/xn--8dbcma7a7ale.com/tiki-install.php(96): include_once('/var/www/virtua...') #5 {main} thrown in /var/www/virtual/xn--8dbcma7a7ale.com/vendor_bundled/vendor/symfony/dependency-injection/Container.php on line 170
tracker item
Error with showing thumbnails in File Gallery
See two screenshots (error with thumbnails in File Gallery)
http://dev.tikiwiki.org/show_image.php?galleryId=1

After some time one or more thumbnails of uploaded images in the File Gallery cannot be displayed anymore. The link seems to be lost.
There an error on the page mentioning an error in tiki-js-sorttable.js. Please help.
tracker item
Error: "A contribution is mandatory" after trying to save
When I edit and try to save a page when logged in as an administrator, I get the error "A contribution is mandatory" and it will not save. Registered users and all others cannot save edits either. We're only using the wiki feature and the files feature, so this makes it pretty useless if we can't edit it.

This error occurred in the previous version as well, but has carried over to the new version.

This apparently edited a previous report and will not allow me to change the selections. I'm now on 4x and it's a Wiki problem, not a File Gallery problem. I can't seem to submit a new report; it keeps editing an old report. So there's a problem with the Bug Report system.
tracker item
Error: H5P directory is not writable: storage/public/h5p in new install
In a new installation of branch 21.2, I get the error "H5P directory is not writable: storage/public/h5p". This is on a Windows laptop in a WAMP stack. After I manually make the storage/public/h5p directory, then the error no longer displays. I'm not sure if this happens only on Windows installations.
tracker item
Error: viewing and creation Article
At viewing and creation Article such mistake:

Warning: mysql error: Unknown column 'tiki_articles.author' in 'on clause' in query:

select `tiki_articles`.*,
`users_users`.`avatarLibName`,
`tiki_article_types`.`use_ratings`,
`tiki_article_types`.`show_pre_publ`,
`tiki_article_types`.`show_post_expire`,
`tiki_article_types`.`heading_only`,
`tiki_article_types`.`allow_comments`,
`tiki_article_types`.`comment_can_rate_article`,
`tiki_article_types`.`show_image`,
`tiki_article_types`.`show_avatar`,
`tiki_article_types`.`show_author`,
`tiki_article_types`.`show_pubdate`,
`tiki_article_types`.`show_expdate`,
`tiki_article_types`.`show_reads`,
`tiki_article_types`.`show_size`,
`tiki_article_types`.`show_topline`,
`tiki_article_types`.`show_subtitle`,
`tiki_article_types`.`show_linkto`,
`tiki_article_types`.`show_image_caption`,
`tiki_article_types`.`show_lang`,
`tiki_article_types`.`creator_edit`
from `tiki_articles`, `tiki_article_types`left join `users_users` on `tiki_articles`.`author` = `users_users`.`login` where `tiki_articles in /home/www/istiki/lib/tikidblib.php on line 134
tracker item
(A blocker if confirmed) errors in trunk database upgrade through console.php keys too long and invalid default value
I've updated trunk in a server, and I got these error messages after upgrading the database with console.php command:

{CODE(ln="1" colors="shell")}
root@server:/var/www/tikitrunk# php console.php d:u --site=mysite.example.com
PHP Warning: The requested theme's CSS file could not be read. Falling back to default theme. in /var/www/tikitrunk/lib/setup/theme.php on line 100
PHP Stack trace:
PHP 1. {main}() /var/www/tikitrunk/console.php:0
PHP 2. require_once() /var/www/tikitrunk/console.php:59
PHP 3. require_once() /var/www/tikitrunk/tiki-setup.php:150
PHP 4. trigger_error() /var/www/tikitrunk/lib/setup/theme.php:100
Update completed.
Installed: 20111231_change_datetime_defaults_to_null_tiki
Installed: 20180609_change_log_column_type_tiki
Installed: 20180705_fix_calendaritem_tracker_attributes_tiki
Installed: 20180706_remove_menu_reports_tiki
Installed: 20180803_semaphore_value_tiki
Installed: 20180815_merge_topic_read_perm_tiki
Installed: 20180918_remove_poweredby_module_tiki
Installed: 20180923_convert_collation_to_utf8mb4_tiki
Queries executed successfully: 277
Error in unknown patch script
ALTER TABLE index_5a6715b9e9160 convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE index_pref_en convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE metrics_metric convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE metrics_tab convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE tiki_acct_journal convert to character set DEFAULT COLLATE DEFAULT
Invalid default value for 'journalDate'
Error in unknown patch script
ALTER TABLE tiki_acct_stack convert to character set DEFAULT COLLATE DEFAULT
Invalid default value for 'stackDate'
Error in unknown patch script
ALTER TABLE tiki_banning convert to character set DEFAULT COLLATE DEFAULT
Invalid default value for 'date_to'
Error in unknown patch script
ALTER TABLE tiki_comments convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE tiki_links convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE tiki_object_attributes convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE tiki_profile_symbols convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE tiki_secdb convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
Error in unknown patch script
ALTER TABLE users_objectpermissions convert to character set DEFAULT COLLATE DEFAULT
Specified key was too long; max key length is 1000 bytes
{CODE}
tracker item
Errors on top of tiki-objectpermissions.php page
Forum last posts module gives the following Notice errors on top of tiki-objectpermissions.php page and messes up the font size of permissions list.

Notice: Undefined index: forumId in ../proposed/5.x/lib/core/lib/Perms.php on line 185

Notice: Undefined index: forumId in ../proposed/5.x/lib/core/lib/Perms.php on line 229

For every topic created you will get another 2 of those Notices.
When there are 100 forum topics not that hard to get you will need to scroll down 200 lines of notices just to edit a few permissions.

Reproduce:
Turn on feature forum
Asign forum last posts module
Create a forum and a topic


One of the notices i got is fixed in Revision 29138
Notice: Use of undefined constant ttz - assumed 'ttz' in ../proposed/5.x/lib/tikilib.php on line 7682
tracker item
Errors testing mail during install
If an address is specified to send the test mail to in step 3 of the installer, an error is displayed when attempting to send the test email:

Fatal error: Call to undefined function iconv_get_encoding() in /srv/http/projectwiki/lib/core/Zend/Validate/Hostname.php on line 535

If an address is provided, and the CC box is unchecked, the following error also appears:

Notice: Undefined index: email_test_cc in /srv/http/projectwiki/installer/tiki-installer.php on line 837

If the user does not provide an email address and attempts to send the test email, the mail is reported as sent (or displays a user friendly error message.)

I'm using PHP 5.3 and Archlinux, and starting a clean install of 7-beta-1. I haven't gotten far enough into the process to see if other emails can be sent.
tracker item
Eval error in event debug console in IE
Just got an error in debugging console of IE10 when posting comment here:
{CODE()}
//Synchronize textarea and codemirror before comment is posted
$(".comment-form>form").submit(function(event){
var $textarea = event.target.find("textarea.wikiedit"); //retrieve the text area from the form that is submitted
if (typeof syntaxHighlighter.sync === 'function') {
syntaxHighlighter.sync($textarea);
}
});
{CODE}
It said something like -+"find method is not available here"+- (sorry it was in Czech and not copypasted with the code snipped here).

luci
tracker item
Event limit for calendar_new module
The calendar_new module does not display event links or popup boxes after a certain point in the month view when there are many events in a given month. The links and popups re-appear in week view or in month view if fewer calendars are aggregated into the mini-calendar. If an event is deleted in one of the aggregated calendars, the mini-calendar will show an additional day of links/popups. The problem appears to be associated with the number of events that must be displayed, although I cannot verify this. The links and popups disappear after about 35-50 events have been displayed.
tracker item
Events generates db error if not logged in
Having this code on a page:

{CODE(theme="default")}{EVENTS(calendarid="2" datetime="1" max="10" usePagination="y")}{EVENTS}{CODE}

Will work fine when logged in, but will generate a db_error when not logged in.

Also, tiki-calendar.php is generating a php error on line 284, as TikiLib::date_format('m', $dday) returns 'm'. I changed this line of code to instead use %m, and that seemed to fix the problem.
tracker item
Smarty warnings being shown when error reporting is off (was: Excluded categories issue in admin panel)
Seen at: https://branding.tiki.org/tiki-admin.php?page=search

{CODE()}Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/local/branding.tiki.org/www/templates_c/ffee1decad4274a7207219e1b5c29ec879c6ef23.file.shared-flags.tpl.php on line 61 Call Stack #TimeMemoryFunctionLocation 10.00151062168{main}( )../tiki-admin.php:0 20.480828653752Smarty_Tiki->display( )../tiki-admin.php:687 30.480828654408Smarty_Internal_TemplateBase->display( )../smarty.php:261 40.480828654568Smarty_Tiki->fetch( )../smarty_internal_templatebase.php:374 50.480928657200Smarty_Tiki->fetch( )../smarty.php:169 60.480928657440Smarty_Internal_TemplateBase->fetch( )../smarty.php:194 70.483129066568content_526d6655a42833_95209110( )../smarty_internal_templatebase.php:180 80.522629819344Smarty_Internal_Template->getSubTemplate( )../en18b660cf6951a7bde07357befc24a4e5^0b68810b83d274feeef37f17fa11a02daa468f3e.file.tiki-admin.tpl.php:273 90.522629848648Smarty_Internal_TemplateBase->fetch( )../smarty_internal_template.php:286 100.523930090424content_526d6c33904fa7_01674674( )../smarty_internal_templatebase.php:180 110.606233752648smarty_function_preference( )../en18b660cf6951a7bde07357befc24a4e5^2f839e7ac915760773273f738f44946d9190e15c.file.include_search.tpl.php:121 120.607033767840Smarty_Internal_TemplateBase->fetch( )../function.preference.php:80 130.607533842240content_526d666807aa49_83245061( )../smarty_internal_templatebase.php:180 140.607633843240Smarty_Internal_Template->getSubTemplate( )../eb55ed0463a99692426fd50fb96c614846cdaaff.file.text.tpl.php:54 150.607633872968Smarty_Internal_TemplateBase->fetch( )../smarty_internal_template.php:286 160.607833917888content_526d6667d67489_17610669( )../smarty_internal_templatebase.php:180 170.608133918264htmlspecialchars ( )../ffee1decad4274a7207219e1b5c29ec879c6ef23.file.shared-flags.tpl.php:61 " />{CODE}
tracker item
Expiration Date
In creating an article, there is a publish date. But there is no expiration date entry.
Yet the article listing shows an expiration date (1 year after pub date).
I cannot determine how that expiration date was set, nor to edit it or disable it.

This appears in both 4.0 and 5.0, in various themes.


tracker item
Export Spreadsheet as csv with code to produce svg chart includes the svg output tags in the csv cell instead of the tiki syntax to generate the chart
Export Spreadsheet as csv with code to produce svg chart includes the svg output tags in the csv cell instead of the tiki syntax to generate the chart

Reproduced when attempting to export sheet4 in doc.t.o, which is part of the sample charts generated from the tiki spreadsheet feature:
https://doc.tiki.org/tiki-export_sheet.php?sheetId=4

When exported (as csv with comma, and utf8) the content is like:
{CODE(colors="htmlmixed")}
Chart Type,Example,Chart,Data,Month,Year
Vertical Bar,"=BARCHART(D2:D13),<div class="jSheetChart"><svg height="172" width="421" version="1.1" xmlns="http://www.w3.org/2000/svg"><desc>Created with Raphaël</desc><defs></defs><path d="M80,139L58,139L58,127L80,127Z" stroke="none" fill="#1751a7"></path><path d="M108,139L86,139L86,1,4,Jan,2001
Horizontal Bar,"=HBARCHART(D2:D13),<div class="jSheetChart"><svg height="148" width="421" version="1.1" xmlns="http://www.w3.org/2000/svg"><desc>Created with Raphaël</desc><defs></defs><path d="M53,27L53,20L95,20L95,27Z" stroke="none" fill="#1751a7"></path><path d="M53,36L53,29L116,29L116,,6,Feb,2002
Pie,"=LINECHART(D2:D8, F2:F6)",<div class="jSheetChart"><svg height="220" width="421" version="1.1" xmlns="http://www.w3.org/2000/svg"><desc>Created with Raphaël</desc><defs></defs><text fill="#000000" stroke="none" font="12px Arial, sans-serif" style="text-anchor: middle; font: 12px A,7.2,Mar,2003
Line,"=PIECHART(D2:D8, E2:E8)",<div class="jSheetChart"><svg height="144" width="421" version="1.1" xmlns="http://www.w3.org/2000/svg"><desc>Created with Raphaël</desc><defs></defs><path stroke-linejoin="round" stroke-width="1" style="stroke-width: 1; stroke-linejoin: round;" d="M210.5,7.5,Apr,2004
,,,8.2,May,2005
,,,9.1,Jun,2006
,,,14.1,Jul,2007
,,,16,Aug,2008
,,,17.9,Sep,2009
,,,22,Oct,2010
,,,30,Nov,2011
,,,32,Dec,2012
,,,,,
,,,,,
{CODE}

And in my honest opinion, it should be something like:
{CODE()}
Chart Type,Example,Chart,Data,Month,Year
Vertical Bar,"=BARCHART(D2:D13)",=BARCHART(D2:D13),4,Jan,2001
Horizontal Bar,"=HBARCHART(D2:D13)",=HBARCHART(D2:D13),6,Feb,2002
Line,"=LINECHART(D2:D8, F2:F6)",=LINECHART(D2:D8, F2:F6),7.2,Mar,2003
Pie,"=PIECHART(D2:D8, E2:E8)",=PIECHART(D2:D8, E2:E8),7.5,Apr,2004
,,,8.2,May,2005
,,,9.1,Jun,2006
,,,14.1,Jul,2007
,,,16,Aug,2008
,,,17.9,Sep,2009
,,,22,Oct,2010
,,,30,Nov,2011
,,,32,Dec,2012
,,,,,
,,,,,
{CODE}
tracker item
Export spreadsheet not working - I know how to fix
{syntax type="tiki" editor="plain"}
I tried to export a sheet that I made and it didn´t work anyway. But I compared tiki-import_sheet.php and tiki-export_sheet.php and I found the error.
tracker item
Exporting tracker items does not work when selecting a custom default sort order field
Exporting a tracker does not work when selecting a custom default sort order field for the tracker.
Fields that do work :
itemId
Created
Lastmodif

All other fields will result in a csv file containing the error page html code.

It seems that the order by value in the SQL statement is not properly generated.


File tiki-export_tracker.php
Url tiki-export_tracker.php
Query:
select * from `tiki_tracker_items` tti where tti.`trackerId`=? order by `` desc

Values:
0 4
Message:

Built query was probably:
select * from `tiki_tracker_items` tti where tti.`trackerId`='4' order by `` desc
tracker item
Exporting tracker items inserts a blank line every 100 items in the csv file
{syntax type="tiki" editor="plain"}
When exporting tracker items, the generated csv file contains a blank line after every 100 items.

...
100 "180";"48";"13-06-2005";""
101 "133";"1";"30-04-2005";"5"
102
103 "179";"47";"31-01-2005";"0"
104 "178";"46";"31-01-2005";""

tracker item
Extend include_path for Net/LDAP2.php
Hello,

a freshly unzipped Tiki 11.0 installation which is configured to use Tiki and LDAP user accounts can't require_once the Net/LDAP2.php file in lib/auth/ldap.php line 14.

I tried to re-generate the composer autoload files, but without success.

Now, I extended the include_path in my php.ini file for vendor_extra/pear

Please have a look at this issues.

Thanks und regards
Lars
tracker item
external wikilink can interfere with internal wikilinks in a very odd way (parser bug)
This is a very odd bug. If you have an external link -+~np~[x|y]~/np~+- somewhere on the page where x and y can be anything (even including whitespace), any internal links of the form -+~np~((...x|y...))~/np~+- or -+~np~((...x|y...|...))~/np~+- where the "..." can be anything (even including whitespace) are screwed up. Copy and paste the following examples into a page to see.

!!Examples

moved example to comments because it was breaking trackerlist reports
tracker item
Facebook and Twitter authorization fails
Users cannot use Facebook and Twitter social network features because they cannot link their accounts to Facebook and Twitter.

Attempting to "Authorize" Facebook passes users to Facebook login, but this Tiki error occurs after redirecting to the Tiki site:

{CODE(theme="default")}Error
We were unable to log you in using your Facebook account. Please contact the administrator.{CODE}

Authorizing Twitter passes users to to Twitter login, but after redirecting to the Tiki site, a fatal error occurs:

{CODE(theme="default")}Fatal error: Uncaught exception 'ZendOAuth\Exception\RuntimeException' with message 'Could not retrieve a valid Token response from Token URL: {"errors":[{"code":89,"message":"Invalid or expired token."}]}' in [ ... snip ... ] /home/sites/tiki/melo/vendor/zendframework/zendoauth/library/ZendOAuth/Http.php on line 218{CODE}

This bug prevents all Facebook and Twitter integration like sharing and using embedded feed plugins. This also breaks the "Login via Facebook" feature.
tracker item
Facebook Login not working
Hi, I've setup a Facebook application to work with other systems and all is fine I can use the FB login feature. When using Tiki however, I go to Login then Login with Facebook option and straight away I hit this in the browser:

{CODE(theme="default")}Possible cross-site request forgery (CSRF, or "sea surfing") detected. Operation blocked.{CODE}

If I hit "Confirm Action":

1. if no fb_xxxxx user is created then a user called fb_ gets created but without any email or name

2. if fb_ user exists per above then login gets denied with:

{CODE(theme="default")}We were unable to create a new user with your Facebook account. Please contact the administrator.{CODE}

In the log all I see is "cannot connect to facebookGraph".

The userid and pass are both installed in Tiki for my FB app and I have the FB callback URL set to: FQDN/tiki-socialnetworks.php?request_facebook as per the documentation.
tracker item
Facebook Sharing is not working (tiki-share.php)
On "Share this Page", "Put on my Facebook wall " is not working.
(Share using email is ok).

To demonstrate I created a show instance using a fb test app.
I set a specific admin password.
tracker item
Fail to set default value to user defined variable
Hi, I'm using tikiwiki to build my own task management system, I'm building a wikipage and try to set default value to a user defined variable like this:
{{lalala|nothing}}
my server showed nothing , but still i can set the value of variable lalala by use URL.
Is there a bug or I missed any configuration?
Thanks a lot.
tracker item
Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Name or service not known
{syntax type="tiki" editor="plain"}
This happens when sending email. I can receive though.

Same config on a different server worked.
tracker item
"internal link" button doesn't work -- "local.php not found"
the button "insert internal link" (on the WYSIWYG-editor) doesn't work.

it opens a new window "local.php not found — This is normal if you have not run the tiki installer yet".


(but i run the tiki installer)
tracker item
Show PHP error messages