after upgrade from ojs 2.4.8 to ojs 3.1 i cannot view pdf file, message error Stream must have data. like this
Hi @wendi_suharmoko,
See e.g. Unable to view PDF's after upgrade to version 3.
Regards,
Alec Smecher
Public Knowledge Project Team
can you tell me about upgrading database?
i follo your link but my pdf cannot display. can u help me about checking database and file
Hi @wendi_suharmoko,
Did you investigate the names of your PDF files to determine whether the upgrade process was able to move them? Find the name of one of your PDFs and post it here.
Regards,
Alec Smecher
Public Knowledge Project Team
Hello Asmecher,
sry for late response, i am recently check url pdf in ojs 3.0.2 (bmeb-bi.org)
http://bmeb-bi.org/files/journals/1/articles/824/public/824-1594-8-PB.pdf (404 Not Found)
But in my ojs 2.4.8 (http://journalbankindonesia.org)
http://journalbankindonesia.org/files/journals/1/articles/824/public/824-1594-8-PB.pdf (pdf showing)
Hi @wendi_suharmoko,
Those are both OJS 2.4-style filenames. The upgrade process renames these to a new style of filename during the OJS 3.x upgrade, but it looks like that didn’t happen in your case. The most likely cause is file permissions preventing the upgrade script from doing what it needs to – the upgrade script will generate warnings in this case.
I’d suggest restoring your OJS 2.4.x files directory and database from backup, then running the upgrade process again, watching for warnings.
Regards,
Alec Smecher
Public Knowledge Project Team
Dear @asmecher
Thx Mate for your guidance, It’s Solved now!! I just need to downgrade my php version to 5.3 and the error is gone
Regards,