151
SMEDrieben
Re: News 1.63 - PDF Creation: UTF-8 not working and xLanguage Problems
  • 2010/2/3 20:27

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks ! I tried your suggestions. It did not solve the problem, but I find out what is the cause !

When I add an image to the hometext or bodytext, such as:

[img align=right id=46]Imagename[/img]


my problem occurs. It is: the hometext (and or bodytext) are printed in the pdf over the header. The pdf gets unreadable.

If there is no Xoops-image code, the pdf is generated correctly.

Any solution ?

SME Drieben



152
SMEDrieben
Re: News 1.63 - PDF Creation: UTF-8 is working: header and body text problems
  • 2010/2/1 22:15

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Finally, my characters are given correctly.

One problem remains: the hometext and bodytext is displayed over the header, post and date info. This only happens on the first page. There must a problem with the page length of the first page, using the pdf.php.

I cannot attach a file, otherwise I would show a generated pdf.

Any idea ?

SMEDrieben



153
SMEDrieben
Re: News 1.63 - PDF Creation: UTF-8 not working
  • 2010/2/1 15:07

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


1) I have similar problems.

I removed the news_html() prefixes. The first and second line show normal characters. However, the hometext and bodytext are not correctly displayed.

I removed:
$content news_unhtml($content);


I adapted the other suggestions in this thread: the chacracters in teh home and bodytext are displayed correctly as well.

However,... the hometext and bodytext are printed over line 1 and line 2 and over the data of the poster, post date etc. Is is a mess.

Any idea how to correct this problem ?

2) Herve has left the fpdf map: you can make your own choice. If you refer to makepdf.php the news_article block, pdf's are generated by the fpdf-system.

Thanks !

Drieben



154
SMEDrieben
Re: Multiple problems 2.3.3b to 2.4.4
  • 2010/1/26 20:59

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks for your quick response. Unfortunately, I don't have a webserver for test purposes (only for production): so, I cannot show you anything (my production site on 2.3.3b is moreless OK, just a few character issues):

https://xoops.org/modules/newbb/viewtopic.php?topic_id=70441&forum=72&post_id=323324#forumpost323324

Ad 1) I forced the xoops_data and xoops_lib folders to be writable; I think they are, since cache files appear in the smarty_cache folder.

Ad 2) I will do tests with the debugger off. I have experienced problems with the debugger (starting form XOOPS 2.0.13 or 2.0.14 till 2.3.3b) on my test system. My test system is XAMPP-lite 1.67. If the php-debug mode is switched on, the xajax-scripts (as frequently used by kaotic) and the RSS-feeds of several Xoops-modules don't work !!

What is the most reliable test-environment for XOOPS ? XAMPP ? WAMP ? What version ?

Ad 3) I think that the Oxygen problems are a consequence of other problems, e.g. the problems of 2).

Ik think, I will build a new test environment (a copy of my 2.3.3b production site) and tyr the upgrade to 2.4.4 again.

SME Drieben



155
SMEDrieben
Multiple problems 2.3.3b to 2.4.4
  • 2010/1/25 20:02

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I didn't have important problems with previous XOOPS upgrades (I started on 2.0.8) in the past. I tried 2.4.0 and experienced a few bugs; with 2.4.3 and 2.4.4 it is terrible !!

I started with 2.3.3b on UTF-8. I have similar problems with the full installer of 2.4.3 and the upgrade package of 2.4.4:

- on the top of all pages debugging info is displayed; I changed "debugLevel" => 2 in xoops_data\configs\xoopsconfig.php, I disable debuginfo in the general preferences, but it remains displayed, even to anonymous users.
- This debug info is continuously displayed:
WarningCache Engine file is not initialized in C:xampplitehtdocspublic_htmlclasscachexoopscache.php on line 182
Warning
Cache Engine file is not initialized in C:xampplitehtdocspublic_htmlclasscachexoopscache.php on line 140

- I use the oxygen admin theme in 2.3.3b. If I do so in 2.4.4, after pointing to 1 item in the menu, the menu starts moving automatically !! All menus fold out and in automatically in some unorganized way.
- Selecting Extcal 2.22 in the main menu results in a blank page with the 2 debug lines mentioned above.
- After selecting "personal session" in the General preferences, I cannot login anymore.

Has anybody any idea what is wrong ?

SME Drieben



156
SMEDrieben
Re: Converting from latin1 to utf8
  • 2010/1/24 15:00

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I converted my site from latin1 to utf8 (with a sql-dump), the above mentioned ALTER - queries and the changes in global.php and mainfile.php.

The result:
- my site is working perfectly ! All characters are given correctly.
- however, the rss-feeds and generated pdf's are terrible !!

Backend.php, backendt.php (News 1.64), rss.php (Extcal 2.2.2), rss.php (wfdownloads), makepdf (News 1.64) make terrible mistakes with special characters. Characters that are given correctly in my browser, they appear incorrect in the rss-feeds and makepdf !

I studied the php-code of backend.php and backendt.php: the charset is defined as utf-8.

How can I get those characters correct as well ??

SME Drieben



157
SMEDrieben
Re: Converting from latin1 to utf8
  • 2010/1/16 13:44

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


Thanks !

I corrected the specifications in global.php (UTF-8) and mainfile.php (utf8). Thereafter, it works fine !

I didn't even correct my sql-dump: the previous changes were done in Notepad++: according to the program my file was already in UTF-8 without BOM.

SME Drieben



158
SMEDrieben
Converting from latin1 to utf8
  • 2010/1/16 12:00

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


I am also trying to convert my system to UTF-8. Unfortunately, not completely succesful.

1) I made a sql-dump in UTF-8 without BOM format.
2) I changed CHARSET=latin1 to CHARSET=utf8 and COLLATE=utf8_general_ci to COLLATE=utf8_unicode_ci
3) I did the database query: ALTER DATABASE DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci
4) I reload my (changed) sql-dump in the database

Then my I went to global.php and mainfile.php to change $langcharset and 'XOOPS_DB_CHARSET' respectively.

If I change those 2 to "utf-8":
- newly entered information is displayed correctly
- special characters (e.g. éëä) from the sql-dump are NOT given correctly: the are shown as small squares.

If I change those 2 (in global.php an mainfile.php) to "utf8_general_ci":
- my old data from the sql-dump are given correctly;
- newly entered data (e.g. in Extcal or News) are terrible.

How can I solve this problem ?

Should I edit the sql-dump more extensively ? By what character should I replace chcracters such as ëäï: they are given in the sql-dump-file (UTF8 without BOM).

Thanks !

Drieben



159
SMEDrieben
Re: Instant-zero and paid modules
  • 2009/12/6 15:18

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


His personal e-mail at instant-zero does not work anymore; the general e-mail does work, but Hervé doesn't answer.

SME Drieben



160
SMEDrieben
2.4.2 and banners
  • 2009/12/6 15:04

  • SMEDrieben

  • Not too shy to talk

  • Posts: 173

  • Since: 2009/6/17


My banners (swf) were working fine in 2.4.0: they were centered in the header and the footer within a td (with a backgroundcolor). In 2.4.2.: - they are not centered anymore: they appear somewhere right from the middle; - they appear outside the td - they overlap the normal content of the site that is not in the header The id in which the <{xoops_banner}> appears is:
#obFooter {
    
font-size11px;
    
text-aligncenter;
    
color#FFFFFF;
    
background-imageurl(images/footer.gif);
    
margin2px;
    
background-repeatrepeat-x;
    
background-positiontop;
    
padding13px 13px 3px;
    
background-color#90CB0D;
}
In the html page code there appear 2 id's: - xo-bannerfix - xo-fixbanner i found xo-fixbanner as "xo-fixbanner a" in the xoops.css. I tried to manipulate this id to correct my banner position. Where can I find the xo-bannerfix id ? Ho can I get my banners centered ? Thanks ! SME Drieben




TopTop
« 1 ... 13 14 15 (16) 17 »



Login

Who's Online

220 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 220


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits