Comments (5)
Sounds like the Controller has not been updated. Definitely need more information.
--- Originally created on August 28th, 2008, at 08:24pm
from core.
The problem is the usage of preg_split in function Controller.replaceInsertTags().
After splitting - pairs like [text_before,insert_tag] are expected which is not the case when the text starts by an insert-tag or two insert-tags are used without a separating character.
--- Originally created by cromix on August 29th, 2008, at 03:52pm
from core.
It seems that your custom PHP script breaks the "for" loop of the controller.
<?php
// Inside function replaceInsertTags()
for($i=0; $i<count($tags); $i=$i+2)
{
// Replace insert tags here
}
?>
Now, if your PHP code uses a "for" loop with $i
as well, it breaks the outer loop of course.
Quick fix: choose another variable in your PHP script (e.g $j
).
Core fix: do not use $i
in the controller loop.
--- Originally created on August 29th, 2008, at 08:56pm
from core.
The issue has been fixed (see [changeset:13 changeset]).
--- Originally created on September 12th, 2008, at 07:00pm
from core.
--- Originally completed on September 12th, 2008, at 07:00pm
from core.
Related Issues (20)
- Add from and until fields for featured news
- 4.5.8 Zweiter, eigener Layoutbereich wird nicht angezeigt HOT 6
- Not possible to disable an included module in a layout HOT 7
- Generate search index in multipage installations HOT 1
- [3.5.35] Mehrere löschen bei hoher Datensatzanzahl nicht erfolgreich HOT 7
- [3.5.35] Newsletter-Verteiler bearbeiten: Änderungsdatum fehlerhaft dargestellt HOT 5
- Provide custom attribute with setter/getter to use as custom returnPath (Bounce Return E-Mail ) HOT 2
- Mitglieder Registrierung - Bug - doppelt E-Mail mit "." HOT 3
- Copy/paste a content element from articles to news (as a user) HOT 2
- Das autologin-Token sollte gehasht in tl_member gespeichert werden HOT 14
- Remove support for deprecated user password hashes HOT 2
- Image link overide metadata. HOT 2
- PHP 7.2 compatibility issue in MemberGroupModel.php HOT 2
- Backliste HOT 3
- custom filter " in like HOT 1
- Mitgliederaktivierung nicht mehr möglich (Token leer) HOT 2
- ce_player: Lautstärke vorgeben und Anzeige der Laufzeit HOT 1
- Missing line breaks in Newsletter e-mails. HOT 2
- Internal server error when inserting an element HOT 1
- Feature: Optionale Möglichkeit zur Auswahl der Inhaltselemente per Icon HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.