Fatal error after 2.7 install

Viewing 22 posts - 1 through 22 (of 22 total)
#22675

alfons
Member

Hi,

I used Download Manager 2.6.96 version and WP 4.0 with the Valenti 3.2 theme without any issues.

Since the update to Download Manager 2.7 I get the following fatal error:

Fatal error: Call to undefined function ot_get_media_post_ID() in /XXXXXXX/wp-content/themes/valenti/option-tree/ot-loader.php on line 667

Any idea what went wrong?

Thanks

#22680

Shahjada
Keymaster

please try changing theme

#22681

alfons
Member

Thanks Shaon. That of course does fix the problem, but changing the theme just to run a new version of Download Manager is not really an option. Specially with a very common theme like Valenti.

#22699

Shahjada
Keymaster

the problem is the conflict with “option-tree” , we are checking it in details. update is coming soon.

#22760

clearview
Member

Version 2.7.1 create the exact same error on Template: CENTUM.

I really have problems, i have reinstalled old working version, but something is updatting it every time i turn my head away..
Have unchecked autoupdate all Places i could think of – but it still updates.

Consequense – our download error is not working att all, as i had to deactivate the plugin..

Not very pro…

#22761

clearview
Member

Will an upgrade to PRO version help me get support? – and will the PRO version Work on WordPress Template: CENTUM ?

#22769

Shahjada
Keymaster

not exactly sure, but we are trying to detect the issue, however it is coming form the theme, may you also please get in touch with theme developer, he could resolve it much faster.

#22770

clearview
Member

I will try… but the theme hasn’t changed.. why does the problem belong to them ?

#22822

Shahjada
Keymaster

becuase fatal error is showing in theme path.

#23044

patels
Member

My website is http://kkplaxminarayanmumbai.org and after installing/updating Download Manager 2.7, I am getting the following error:

Warning: session_start() [function.session-start]: open(/home/content/66/10402966/tmp/sess_fbophho0iqf4jj136gptv7gmf4, O_RDWR) failed: No such file or directory (2) in /home/content/66/10402966/html/wp-content/plugins/download-manager/download-manager.php on line 15

I have tried removing and reinstalling the plugin, but it does not help.

#23132

alfons
Member

That is the answer I received from the theme developer:

That must be because that plugin must have OptionTree builtin, but is using a very old version, tell the plugin author to upgrade to the latest OptionTree to fix it.

So I guess even the error message shows it is coming from the theme, it is the plugin that causes the problem after all.

#23593

Shahjada
Keymaster

@alfons, Yes, option tree build-in with your theme but your theme is using old version of option tree, they need to provide latest version of option tree with their theme pack.


@patels
, it is related to your server ( file permission issue ), please show the error to server/hosting support, they will adjust it.

#23594

alfons
Member

This is getting a bit ridiculous now. The theme developers says YOU guys are using an old version of option tree and now you wrote he is using an old version of option-tree.

#25216

patels
Member

When the plugin is rolled back to version 2.6.96 everything works perfectly fine.
However, while updating the plugin to version 2.7.X.X, I am getting the following error

Warning: session_start() [function.session-start]: open(/home/content/66/10402966/tmp/sess_o8j63939mvol2ukgu6563vkmt6, O_RDWR) failed: No such file or directory (2) in /home/content/66/10402966/html/wp-content/plugins/download-manager/download-manager.php on line 15

Plugin reactivated successfully.
Warning: Unknown: open(/home/content/66/10402966/tmp/sess_o8j63939mvol2ukgu6563vkmt6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0
——————————————————————————————————————
MIGRATION:
Status of migration of the data is Yes for all packages.
However, the screen starts with the warning message as under;
Warning: session_start() [function.session-start]: open(/home/content/66/10402966/tmp/sess_o8j63939mvol2ukgu6563vkmt6, O_RDWR) failed: No such file or directory (2) in /home/content/66/10402966/html/wp-content/plugins/download-manager/download-manager.php on line 15

and the same screen has this warning message at the end…
Warning: Unknown: open(/home/content/66/10402966/tmp/sess_o8j63939mvol2ukgu6563vkmt6, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

————————————————————————————————-
Further, the website (kkplaxminarayanmumbai.org) shows this error message on the top
Warning: session_start() [function.session-start]: open(/home/content/66/10402966/tmp/sess_c5s9hoe3ofib74bkv16agdpul3, O_RDWR) failed: No such file or directory (2) in /home/content/66/10402966/html/wp-content/plugins/download-manager/download-manager.php on line 15

—————————————————————————————————-
I have deleted the plugin from FTP and reinstalled it, did not help. I have rolled back the plugin to ver 2.6.xx – works fine. But when I update to ver 2.7.xx, the problem persists.

I spoke to the webhosting company. According to them, it is the problem with the plugin and there is nothing do be done at their end.

Request you to kindly help the issue to be resolved.
Thanks in advance

#25277

Shahjada
Keymaster

the issue is with your server, please send those error message to hosting/server support, they can resolve it just in few clicks.

#25357

patels
Member

Thanks for the response.
I have discussed this with the hosting support. But they are pointing me to the error which reads, “…. wp-content/plugins/download-manager/download-manager.php on line 15”
They say this error is related to download-manager.php file, which the author alone can resolve.
Further, they also asked me to uninstall the plugin and check. When it worked fine, they re-iterated that the error is with the plugin.

I am now stuck.

If the problem is with the server and as you say it can be fixed in few clicks, can you please elaborate. I need to explain this to the hosting provider, may be it will help him understand the issue.

#25489

Shahjada
Keymaster

in line #15, we used session_start function, session is required for password protected downloads and 99.999% server/hosting are session enabled. Error in line #15 means, your server disabled session_start function. They simply should enable it to resolve this issue.

#25654

patels
Member

The problem was not with the disabled session_start. In fact it was with the white space at the end of download-manager.php file.
https://support.godaddy.com/help/article/1654/what-do-i-do-when-i-receive-a-php-header-error-message?locale=en&ci=46061&countrysite=in this link explains the problem better.

Just removed the white space and the problem vanished.

Thus request you to incorporate this in your future versions of the download manager

#25754

patels
Member

No, the above did not solve the problem. It created an error, which led the wordpress to deactivate the plugin and hence the error message vanished. I noticed this later.

With respect to the enabling session_start function at the server level, I have checked with the godaddy server team. They say that they have not disabled any such function. In this regard, may I add that the session would be required for old version i.e., 2.6.x. If I install old version of DM, the website works fine. The problem is with the new version of DM only. So I think, session_start function would not be the reason behind the problem.

Coming back to the problem, after installing the latest version of DM, the additional information (other than the error messages which appear on the face of website) I want to share is that the welcome page says…

Migrate Data
Looks like you were using v2.6 earlier and there are some data already, anyhow you can migrate those data to 2.7 from Admin Menu Downloads Settings Migrate Tab
You also can get back to v2.6. To do that, delete current installation of v2.7, Download v2.6.96 and install. 

When I go the the migration tab, the status for all packages is shown as migrated.
Request you to kindly reply asap.

#25755

patels
Member

To add further to why the session_start function solution is not relevant, with the latest version of DM installed, even though the error message is displayed on the face of website, the downloading of files is working very well. This means that the session_start function is enabled at the server level.

#25760

patels
Member
#25763

patels
Member

Ultimately, (for the time being) this is what solved the problem…
https://wordpress.org/support/topic/fast-secure-contact-form-3

Viewing 22 posts - 1 through 22 (of 22 total)

The topic ‘Fatal error after 2.7 install’ is closed to new replies.