Back to Wordpress Post Importer for Blog and ProBlog Support

allw
allw

Not used this since like 2015, updated so there are a few new versions.

Keep getting error "failed to open stream no such file or directory on line 147 of WPimporter.php" depressing because this used to work, but no longer does.

Last updated

tony_p4620282
tony_p4620282

it appears that for some reason the getLocalPath() has added an extra "/home/vagrant/Code/october-demo/" which is causing the error here is the out put of my error "/home/vagrant/Code/october-demo//home/vagrant/Code/october-demo/storage/app/uploads/public/599/75b/691/59975b691757d725031145.xml" as you can see there is two // between the october-demo and home directories and that's why your getting the error fixing the problem we need to find where the extra "/home/vagrant/Code/october-demo/" is added

Last updated

tony_p4620282
tony_p4620282

It appears to have been fixed by Klyp today simply by removing line 145 -147 and replacing it with the following $importFileContent = $this->import_xml_file->getContents();

fabio.teixeira.wbz24970
fabio.teixeira.wbz24970

tony_p4620282 said:

It appears to have been fixed by Klyp today simply by removing line 145 -147 and replacing it with the following $importFileContent = $this->import_xml_file->getContents();

Hi, this not worked for me! Error: "Call to a member function getContents() on integer"

Any other solution?

busellato25577
busellato25577

fabio.teixeira.wbz24970 said:

tony_p4620282 said:

It appears to have been fixed by Klyp today simply by removing line 145 -147 and replacing it with the following $importFileContent = $this->import_xml_file->getContents();

Hi, this not worked for me! Error: "Call to a member function getContents() on integer"

Any other solution?

Same problem, when i try to import the wp xml the importer give me the same error:

Call to a member function getContents() on integer" on line 145 of ...

paulgrafx
paulgrafx

I am getting the same problem with the error -

'"Call to a member function getContents() on integer" on line 145 of /Applications/MAMP/htdocs/website-october-cms/plugins/klyp/wpimporter/models/Wpimporter.php'

'$importFileContent = $this->import_xml_file->getContents();'

UPDATE: I have noticed a version 1.1.5: File attachement fix is this is the issue now fixed?

It's not appearing as an update option in the admin.

Last updated

jaroslav34190
jaroslav34190

paulgrafx said:

I am getting the same problem with the error -

'"Call to a member function getContents() on integer" on line 145 of /Applications/MAMP/htdocs/website-october-cms/plugins/klyp/wpimporter/models/Wpimporter.php'

'$importFileContent = $this->import_xml_file->getContents();'

UPDATE: I have noticed a version 1.1.5: File attachement fix is this is the issue now fixed?

It's not appearing as an update option in the admin.

I have tested it now and it works. But newer version is only on github so you have to install it manually :-/

1-7 of 7