News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

TCDPF

Started by Acmiron, December 13, 2018, 13:53:58 PM

Previous topic - Next topic

Acmiron


I have quite a problem with TCPDF.

I created a site with Joomla 3.9.1 on localhost.
Transferred the site to remote.

The content of the site is correct.
TCPDF 6.2.12 doesn't create an invoice.

In the Joomla administrator/log/com_virtuemart.log.php it reads:
    You first must install TCPDF in the directory libraries.
    ERROR vmError: vmPdf: For the pdf, you must install the tcpdf library at ../libraries/tcpdf

I removed TCPDF from administrator/libraries and did a new install of TCPDF.
However, TCPDF stil doesn't work. TCPDF displays the home page instead.

Please advice,
Regards

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Acmiron

at first I re-installed the TCPDF part of the VirtueMart download.
As this didn't function, I installed from http://dev.virtuemart.net/attachments/download/1137/com_tcpdf_1.0.5.zip

The same result.

When I do a complete new Joomla and VirtueMart installation on remote, TCPDF works fine.

I do suppose, when a VirtueMart installation on localhost is transferred to remote, somewhere something in the configuration,
be it in configuration.php or Joomla's Global Configuration System Settings "Path to Log Folder" or Server Settings
"Path to Temp Folder" or  Safe Path or ...  gets mixed up or simply lost.

Could it be, that VirtueMart should be installed on remote only?
Regards

jenkinhill

Did you use Akeeba to move the site?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

Quoteconfiguration.php or Joomla's Global Configuration System Settings "Path to Log Folder" or Server Settings
"Path to Temp Folder" or  Safe Path

these must be adjusted in any case .. as Jenks suggests  .. Akeeba will prompt u to do this

but don't see the connection with failed TCPDF stuff
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Acmiron

No Akeeba, have to follow the providers rules.
Create new database, import DB from localhost.
Transferred site content from localhost to remote.
Adjusted configuration.php, joomla settings for log and tmp path, in VirtueMart configuration --> templates --> safepath.
Checked VirtueMart Tools --> Tools & Migration --> Safe Path Tools. /vmfiles is writable

This morning tcpdf installed again and, this time, using PuTTY to monitor the directories.
After installation tcdpf is in the directory /libraries/tcpdf.
After going to VirtueMart --> Shop --> Shop --> Invoices/Emails and than Save

                     tcpdf is not in /libraries/tcpdf but moved to /libraries/vendor/tecnickcom/tcpdf.