Giter Club home page Giter Club logo

Comments (5)

mbogart24 avatar mbogart24 commented on July 29, 2024

Correction:
CSV export still works.

from reportico.

mbogart24 avatar mbogart24 commented on July 29, 2024
function abs_paging_height($height_string)
{
	$height = (int)$height_string;
	if ( strstr($height_string, "%" ) )
	{
		$height = (int)

--------------------This is the problem on line 151 --------
( $this->page_height * $height_string ) / 100;
}

	return $height;
}

from reportico.

mbogart24 avatar mbogart24 commented on July 29, 2024

Error thrown on pdf export:

/nfs/c10/h05/mnt/144724/domains/test.airheads.org/html/components/com_reportico/tcpdf/tcpdf.php Line 18021 - "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
Main Report Query - Error: Query Failed

SELECT s.state, v3.field_value as region, s.membership_id, s.first_name, s.last_name, s.city, s.zip, s.country, s.phone, s.email, v1.field_value, v2.field_value FROM j17_osmembership_subscribers=s LEFT JOIN j17_osmembership_field_value as v1 on (s.id=v1.subscriber_id and v1.field_id=21) LEFT JOIN j17_osmembership_field_value as v2 on (s.id=v2.subscriber_id and v2.field_id=30) LEFT JOIN j17_osmembership_field_value as v3 on (s.id=v3.subscriber_id and v3.field_id=31) WHERE 1=1 -- AND s.plan_id=5 AND v1.field_value="airmarshal" AND is_profile=1 -- AND plan_main_record=1 -- AND s.published=1 ORDER BY s.country DESC, s.state ASC

Status 0 -

from reportico.

reportico-web avatar reportico-web commented on July 29, 2024

Hi there

Thanks for the info.. i certainly need to check the module for this release..

Have you manage to change the files your self so it works?
I can look tomorrow to provide you fixes but

certainly editing /nfs/c10/h05/mnt/144724/domains/test.airheads.org/html/components/com_reportico/tcpdf/tcpdf.php Line 18021 and changing

continue; 

to

continue 2;

should work.. also the fix for reportico_report_html.php is to change the line

from

if ( strstr($height_string, "%" ) ) 

to

if ($this->page_height && strstr($height_string, "%")) 

Let me know if you want me to provide replacement files

Peter

from reportico.

mbogart24 avatar mbogart24 commented on July 29, 2024

Thank you Peter for such a fast response !
That did fix the problem.

Cheers !

from reportico.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.