PDA

View Full Version : "The file you have uploaded is not a valid module file"


cbiweb
09-10-2009, 09:51 AM
I'm trying to edit an existing .module file, to work with the vB News CMS (http://www.vbulletin.org/forum/showthread.php?t=219152) add-on that uses a file called vbnews.php. This is my first try at modifying a .module file, and I keep getting this error when I upload it:

The file you have uploaded is not a valid module file.

What am I doing wrong? Even better, what do I need to edit in order to make it work? ...or even how to create a .module file from scratch?

cbiweb
09-11-2009, 10:10 AM
bump

Our Sponsors
 

Brian
09-11-2009, 11:05 AM
You're not going to be able to modify a .module file easily. If you need to make changes to something with the file, upload the original unedited .module file and then you can make changes to the .php file or templates that are created.

cbiweb
09-15-2009, 10:52 AM
I understand it may not be easy, but may I ask why there are no instructions anywhere for how to do it anyway? Is it top secret? lol

Our Sponsors
 

Brian
09-16-2009, 11:53 AM
There's no instructions because that's not really part of the software or something that's necessary. If you need to edit something within the module, upload the .module file first and then modify the .php file that was added to the /modules folder on your server. I promise you that will be much quicker and easier than trying to mess with the serialized data.

cbiweb
09-23-2009, 07:03 AM
Okay. Well, does anyone know where to find tutorials or courses on how to write serialized data? I like to learn new codes, new things, and learn to do things myself. That's how I know XHTML, CSS, and various scripting languages. But I've never had reason to learn or work with serialized data before. So it would be nice to know where I can read up on it. Googling didn't give me much, which is surprising. Is it a hush-hush or proprietary technology or something?

Brian
09-23-2009, 10:47 AM
No, it's not secret or anything special. It's just a way of storing data. There's really no point in trying to edit the serialized version of the code though. In the time you've spent posting and searching you could have uploaded the .module file and made your changes already.