Topic: repgen2 not working

I just installed the repgen2 on my FA and i get a blank page when i try to access the page. What could be the error. here's my working enviroment.


FA version 2.0.1
Apache/2.0.63 (Win32)
PHP/5.2.6
Mysql 5.0.51a

Re: repgen2 not working

checked the database after installing the database and looks like it dint run the sql on installation.

ran the query and created the table xx_reports but that dint solve the problem either

Re: repgen2 not working

Try to set the $go_debug flag in config.php to 1, to trap ev. messages. If it doesn't help, look in the apache_error.log to see if any errors/messages are here.

/joe

Re: repgen2 not working

this is strange, it says

require_once(repgen_const.inc) [function.require-once]: failed to open stream: No such file or directory in file: E:\Apache2\www\plot\modules\repgen\repgen_select.php at line 37
require_once() [function.require]: Failed opening required 'repgen_const.inc' (include_path='.;C:\php5\pear') in E:\Apache2\www\plot\modules\repgen\repgen_select.php on line 37

but the file exists in that location

Re: repgen2 not working

You can try either of two things.
On line 37 in repgen_select.php
change require_once("repgen_const.inc") to require_once($path_to_root . "/modules/repgen_const.inc") or require_once("./repgen_const.inc")
The same method for line 38. Tell me if it works.

/Joe

Re: repgen2 not working

i have figured out the error. the module installation did not copy files into the repgen folder so on coping the rest of the files manualy, it worked

Re: repgen2 not working

another error just occured on copying the files into the repgen folder. the reports are not working.

Re: repgen2 not working

this is what im getting

%PDF-1.3
3 0 obj
<</Type /Page
/Parent 1 0 R
/MediaBox [0 0 595.28 841.89]
/Resources 2 0 R
/Contents 4 0 R>>
endobj
4 0 obj
<</Filter /FlateDecode /Length 806>>
stream
xœµ—]OÛ0†ïû+Ž´ Xê $N¸+¬tcÚ†ÖÜLÀEÖ˜’)MPš±_?·ù:n˜µ‘š¶¶à9¯ÏyíãÇð.Õó ®oÕG¢ž™z–£³Æ(s è¦Ñˆ¼öèöëã?P„~ÿ>±úÏ=ßÛ~ ˆØ~¬F.AÃlóÈ4`;Åû©7 ûLäVI„jÞ…( ë£ùæá!Ke    gqç ¹>¾…è² Hµ€ÍTh$ z Ô¾&›ÕOY¦p^ÜÝI    ³²x”åZ ‹˜‹´ÓtðŠ…ÛE»*Ó¼‚o›
>Ä•<5`Ó!œÐ1%cFH ÊwJ„‰ö&UˆŸ‹8»/Ö•yJ|ÖQ/ҵ—6ò È*êµËÇ{à*9¬IÎÍÑdQ¥¿åͱ…¡€“d•æéº*ãª(Í“äõ. æ‰5Ç lïsµ<è°í¾¶¡a'Yf.“ùï|S–2_<Ù ‰°íai‹•„EÇ ŒÇÄ~˜«x) î1Ûã]0Š ÷fØïÜ𠩤¯MTÆù¢§i!™ˆûÎ'¸í2 2>$n$R9óœ0Ô¨ç÷q¹Dýðhè«ZÊ$ L ®Çœ0Ð jSª¶PÉÄÄÝÄw\¡aU‹\Wqž¤ùrÿR0pngzÂ5Ó×ÃÞôê>AÍ]ï®ãúµÊ/Ó \ȲJ³ô º4˜; Ã?Oç j õ… Ú ñBQŽè¡ëôÉà@‡«øi%ójO×{Ó    ¡&@12>&¡ÞÖ^Ïå"tB_ã
BNÙ†3ຮû&\ Ç õÄ* ë;|ÊéBZð¢sfÁˆÇ\ 6h7&æz6ìEk n`Ó^ˆkÇ^$ÜçR+zëôrÿ-M†èœ[0â1aÑd˜X4âºVŠ&Øî¬A\Köú¥]d Öëá® ìCÚÿš‹Š*ÎL’OĶ—c$=a6Ò߶&D¶Óšø3Š ¦-/"{/–—èå%}yŸ¹ÎZq/º×LýˆI@¯» Uã„m¨·q&Ût‚®Ø¦0ùE'xêVŒœÐ wNý‘7šÄ
endstream
endobj
1 0 obj
<</Type /Pages
/Kids [3 0 R ]
/Count 1
>>
endobj
5 0 obj
<</Type /OCG /Name (print)
/Usage <</Print <</PrintState /ON>> /View <</ViewState /OFF>>>>>>
endobj
6 0 obj
<</Type /OCG /Name (view)
/Usage <</Print <</PrintState /OFF>> /View <</ViewState /ON>>>>>>
endobj
7 0 obj
<</Type /Font
/BaseFont /Helvetica
/Subtype /Type1
/Encoding /WinAnsiEncoding
>>
endobj
8 0 obj
<</Type /Font
/BaseFont /Helvetica-Bold
/Subtype /Type1
/Encoding /WinAnsiEncoding
>>
endobj
9 0 obj
<</Type /Font
/BaseFont /Helvetica-Oblique
/Subtype /Type1
/Encoding /WinAnsiEncoding
>>
endobj
2 0 obj
<<
/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]
/Font <<
/F1 7 0 R
/F2 8 0 R
/F3 9 0 R
>>
/XObject <<
>>
/Properties <</OC1 5 0 R /OC2 6 0 R>>
/ExtGState <<
>>
>>
endobj
10 0 obj
<<
/Title (Supplier Balances)
/Author (Kahawa Yetu 1.0.1)
/Subject (Supplier Balances)
/Creator (PlugIT - http://www.plugit.net)
/Producer (TCPDF 4.0.017_PHP4 \(http://www.tcpdf.org\))
/CreationDate (D:20081001120732)
/ModDate (D:20081001120732)
>>
endobj
11 0 obj
<<
/Type /Catalog
/Pages 1 0 R
/OpenAction [3 0 R /FitH null]
/PageLayout /SinglePage
/PageMode /UseNone
/Lang /en_US
/ViewerPreferences<<
/Direction /L2R
>>
/OCProperties <</OCGs [5 0 R 6 0 R] /D <</ON [5 0 R] /OFF [6 0 R] /AS [<</Event /Print /OCGs [5 0 R 6 0 R] /Category [/Print]>> <</Event /View /OCGs [5 0 R 6 0 R] /Category [/View]>>]>>>>
>>
endobj
xref
0 12
0000000000 65535 f
0000000993 00000 n
0000001566 00000 n
0000000009 00000 n
0000000117 00000 n
0000001050 00000 n
0000001158 00000 n
0000001265 00000 n
0000001361 00000 n
0000001462 00000 n
0000001745 00000 n
0000002010 00000 n
trailer
<<
/Size 12
/Root 11 0 R
/Info 10 0 R
>>
startxref
2375
%%EOF

Re: repgen2 not working

In debug mode the generated pdf file is displayed in browser. Switch the $go_debug off.

Janusz

Re: repgen2 not working

oh..i was so worried!